Ticket #9154 (closed Bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Javascript registry doesn't support import Plone 3.3-era exports in 3.3

Reported by: MatthewWilkes Owned by:
Priority: blocker Milestone: 3.3
Component: Infrastructure Keywords: genericsetup
Cc:

Description

In 3.3rc2 saving a snapshot of a vanilla plone site and re-importing it flags up a difference between the exporter and importer for at least portal_javascript due to the PLIPed changes to ResourceRegistries for 3.3.

2009-04-17 16:52:54 ERROR Zope.SiteErrorLog http://127.0.0.1:8080/site/portal_setup/manage_importAllSteps
Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module Products.GenericSetup.tool, line 600, in manage_importAllSteps
  Module Products.GenericSetup.tool, line 390, in runAllImportStepsFromProfile
   - __traceback_info__: snapshot-snapshot-20090417155232
  Module Products.GenericSetup.tool, line 1182, in _runImportStepsFromContext
  Module Products.GenericSetup.tool, line 1093, in _doRunImportStep
   - __traceback_info__: jsregistry
  Module Products.ResourceRegistries.exportimport.jsregistry, line 14, in importJSRegistry
  Module Products.ResourceRegistries.exportimport.resourceregistry, line 29, in importResRegistry
  Module Products.GenericSetup.utils, line 544, in _importBody
  Module Products.ResourceRegistries.exportimport.resourceregistry, line 82, in _importNode
  Module Products.ResourceRegistries.exportimport.resourceregistry, line 158, in _initResources
TypeError: registerScript() got an unexpected keyword argument 'external'

I think this should block 3.3, it will cause major headaches to integrators, forcing them to edit attributes out of their exports before adding them to products.

Change History

comment:1 Changed 3 years ago by dunlapm

  • Status changed from new to closed
  • Resolution set to fixed

(In [26603]) Fixed GS Export/Import error. Closes #9154.

Note: See TracTickets for help on using tickets.