After calling load() or loadNB(), any property without an explicitly saved value retains its "dirty" value

Bug #642823 reported by Gregory Moyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Prom
Status tracked in Trunk
Trunk
Fix Released
Critical
Gregory Moyer

Bug Description

After a call to load() or loadNB(), the value of all properties should equal that of a freshly created and loaded properties manager. Currently however, if a value is set to a property which has the default value without any explicit value in the properties file, after load() the non-default value is returned.

The problem is that load() does not clear the properties so anything that is not explicitly set in the file retains its current value.

Tags: default load
Revision history for this message
Gregory Moyer (syphr42) wrote :
Changed in prom:
status: Triaged → Fix Committed
summary: After calling load() or loadNB(), any property without an explicitly
- saved value retains is "dirty" value
+ saved value retains its "dirty" value
Gregory Moyer (syphr42)
Changed in prom:
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.