Ticket #13132 (confirmed Bug)
Module Products.CMFPlone.QuickInstallerTool, line 102, in upgradeProduct KeyError: 'version'
Reported by: | aclark | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.x |
Component: | Backend (Python) | Version: | 4.1 |
Keywords: | genericsetup, quickinstaller, version | Cc: |
Description
When there is no profiles/default/metadata.xml file, GenericSetup happily reports a profile version that matches the setup.py file version.
As such, I don't think the QI should choke when there is no metadata.xml containing a version spec. Rather, it should do what GS itself does, and use the setup.py file version.
2012-08-26 10:29:44 ERROR Zope.SiteErrorLog 1345991384.360.641290482106 http://localhost:8080/Plone/portal_quickinstaller/prefs_reinstallProducts Traceback (innermost last): Module ZPublisher.Publish, line 126, in publish Module ZPublisher.mapply, line 77, in mapply Module ZPublisher.Publish, line 46, in call_object Module Products.CMFCore.FSPythonScript, line 127, in __call__ Module Shared.DC.Scripts.Bindings, line 322, in __call__ Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec Module Products.PythonScripts.PythonScript, line 344, in _exec Module script, line 11, in prefs_reinstallProducts - <FSPythonScript at /Plone/portal_quickinstaller/prefs_reinstallProducts> - Line 11 Module Products.CMFPlone.QuickInstallerTool, line 102, in upgradeProduct KeyError: 'version'
Change History
Note: See
TracTickets for help on using
tickets.