#18 — [Trivial buglet] Extraneous "title" attribute to "javascript" tag in generated example
by
Karl Johan Kleist
—
last modified
Dec 31, 2009 02:54 PM
| State | Resolved |
|---|---|
| Version: |
—
|
| Area | General |
| Issue type | Bug |
| Severity | Medium |
| Submitted by | Karl Johan Kleist |
| Submitted on | Aug 27, 2009 |
| Responsible |
—
|
| Target release: |
—
|
ZopeSkel 2.11.1
"paster create -t plone3_theme foo.bar"
The template "plone3_theme" generates a commented example
in the file "profiles/default/jsregistry.xml" (if anwering "True" on "Include in-line documentation in generated code?").
After removing the comment, and installing the product, this error was issued:
>
> 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.CMFQuickInstallerTool.QuickInstallerTool, line 584, in installProducts
> Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 521, in installProduct
> - __traceback_info__: ('sklinternational.theme',)
> Module Products.GenericSetup.tool, line 390, in runAllImportStepsFromProfile
> - __traceback_info__: profile-sklinternational.theme:default
> 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 156, in _initResources
> TypeError: registerScript() got an unexpected keyword argument 'title'
When I removed the "title" attribute of the "javascript" tag, the installation worked fine.
"paster create -t plone3_theme foo.bar"
The template "plone3_theme" generates a commented example
in the file "profiles/default/jsregistry.xml" (if anwering "True" on "Include in-line documentation in generated code?").
After removing the comment, and installing the product, this error was issued:
>
> 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.CMFQuickInstallerTool.QuickInstallerTool, line 584, in installProducts
> Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 521, in installProduct
> - __traceback_info__: ('sklinternational.theme',)
> Module Products.GenericSetup.tool, line 390, in runAllImportStepsFromProfile
> - __traceback_info__: profile-sklinternational.theme:default
> 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 156, in _initResources
> TypeError: registerScript() got an unexpected keyword argument 'title'
When I removed the "title" attribute of the "javascript" tag, the installation worked fine.
Added by
Israel Saeta Pérez
on
Dec 31, 2009 02:54 PM
I fixed this in ZopeSkel 2.15 (Unreleased).
Issue state:
Unconfirmed
→
Resolved
No responses can be added.
If you can, please log in before submitting a reaction.
