Component.create() misbehavior if Component.default_config is empty

Bug #408339 reported by Philippe Normand
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Moovida
Fix Released
Low
Philippe Normand

Bug Description

Code issue.

In Component.create() we currently set the instance.config attribute properly only if the class has a non-empty default_config.

In the case where default_config is empty and config_section is None, the config attribute should be set to an empty elisa.core.config.Config section. When the config is written back to disk, all empty sections should be skipped, as a side-effect.

Philippe Normand (philn)
Changed in elisa:
status: New → Won't Fix
status: Won't Fix → Confirmed
importance: Undecided → Low
Philippe Normand (philn)
Changed in elisa:
status: Confirmed → In Progress
Philippe Normand (philn)
Changed in elisa:
assignee: nobody → Philippe Normand (philn)
milestone: none → 1.0.7
Olivier Tilloy (osomon)
Changed in elisa:
milestone: 1.0.7 → 1.0.8
Philippe Normand (philn)
Changed in elisa:
status: In Progress → Fix Committed
Olivier Tilloy (osomon)
Changed in moovida:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.