Ticket #20145 (new Bug)

Opened 16 months ago

schemaextender breaks GenericSetup createSnapshot

Reported by: neaj Owned by: davisagli
Priority: minor Milestone: 4.x
Component: Archetypes Version: 4.2
Keywords: Cc:

Description

To reproduce: create new site with schemaextender present. Activate caching, go to caching control panel, import default configuration. Opt to take config snapshot to enable rollback, as suggested by the UI.

Result:

Traceback (innermost last):

    Module ZPublisher.Publish, line 138, in publish
    Module ZPublisher.mapply, line 77, in mapply
    Module ZPublisher.Publish, line 48, in call_object
    Module plone.app.caching.browser.controlpanel, line 55, in __call__
    Module plone.app.caching.browser.controlpanel, line 469, in update
    Module plone.app.caching.browser.controlpanel, line 488, in processImport
    Module Products.GenericSetup.tool, line 389, in createSnapshot
    Module Products.CMFCore.exportimport.content, line 31, in exportSiteStructure
    Module Products.CMFCore.exportimport.content, line 132, in export
    Module Products.GenericSetup.content, line 387, in export
    Module Products.Archetypes.WebDAVSupport, line 156, in manage_FTPget
    Module Products.Marshall.marshaller, line 95, in marshall
    Module Products.Marshall.marshaller, line 90, in delegate
    __traceback_info__: (<Products.Archetypes.Marshall.RFC822Marshaller instance at 0x4dd9e18>, 'marshall', <ATDocument at /PloneTest/front-page>, {'REQUEST': <HTTPRequest, URL=http://admin.iwlearn.net/PloneTest/@@caching-controlpanel-import>, 'RESPONSE': ZServerHTTPResponse('')})
    Module Products.Archetypes.utils, line 130, in mapply
    Module Products.Archetypes.Marshall, line 271, in marshall
    Module Products.Archetypes.utils, line 130, in mapply
    Module archetypes.schemaextender.field, line 33, in edit_accessor

AttributeError: getRaw 
Note: See TracTickets for help on using tickets.