This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 191393 - ProjectUtils.getPreferences() violates own contract about shared properties
Summary: ProjectUtils.getPreferences() violates own contract about shared properties
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant Project (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords: API
Depends on:
Blocks: 191160 134580
  Show dependency tree
 
Reported: 2010-10-27 09:05 UTC by Alexander Simon
Modified: 2010-10-28 02:54 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2010-10-27 09:05:59 UTC
Method org.netbeans.api.project.ProjectUtils.getPreferences() violates contract when shared is false.
Method stored properties in the project.xml.
Error in the class:
AuxiliaryConfigBasedPreferencesProvider.flushImpl(), line 287:
            ac.putConfigurationFragment(configRoot, true);
Should be 
            ac.putConfigurationFragment(configRoot, shared);
Comment 1 Jesse Glick 2010-10-27 12:34:18 UTC
Probably right.
Comment 2 Jesse Glick 2010-10-27 12:35:35 UTC
core-main #be717eb417de
Comment 3 Quality Engineering 2010-10-28 02:54:12 UTC
Integrated into 'main-golden', will be available in build *201010280000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/be717eb417de
User: Jesse Glick <jglick@netbeans.org>
Log: #191393: ProjectUtils.getPreferences() violates own contract about shared properties