Ticket #7536 (closed Feature Request: fixed)

Opened 4 years ago

Last modified 3 years ago

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

comment:2 Changed 4 years ago by hannosch

  • Status changed from assigned to closed
  • Resolution set to fixed
  • Milestone changed from 3.0.x to 3.1

All error swallowing and logging code has been removed from QuickInstaller trunk. You will always see any error produces during product installation now.

comment:3 Changed 4 years ago by hannosch

  • Milestone changed from 3.1 to 3.x

Milestone 3.1 deleted

comment:4 Changed 3 years ago by hannosch

  • Component changed from Control Panel to Infrastructure
Note: See TracTickets for help on using tickets.