Ticket #7536 (closed Feature Request: fixed)
Faulty (unclear?) enforcement of format of site configuration import step files
| Reported by: | jlagarde | Owned by: | hannosch |
|---|---|---|---|
| Priority: | minor | Milestone: | 3.1 |
| Component: | Infrastructure | Keywords: | |
| Cc: |
Description
Plone 3.0.4 -- In trying to install a custom product with quickinstaller, the product just would not install, with no error generated (i.e. product remained in "Products available for install" column, with no reason given). By running Zope in pdb, I found out that the problem was that my rolemap.xml file did not have a permissions tag, which generated a key error within the GenericSetup tool, an error which did not bubble up to the web interface. I fixed my immediate problem by adding an empty permissions tag to the file, but I think that the way the error was handled by Plone is incorrect. I marked this ticket as an enhancement, but think that it is at least borderline bug not to do either one of those: 1) If part of an import step file is not mandatory, then it should not cause an error when missing OR, 2) If the format of an import step file is considered in error (e.g. if a permissions tag is mandatory in the rolemap step), then the error output ought to be provided within the quickinstaller web interface.
Change History
comment:1 Changed 4 years ago by hannosch
- Owner changed from somebody to hannosch
- Status changed from new to assigned
