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 129594 - changes in new configurations aren't saved
Summary: changes in new configurations aren't saved
Status: RESOLVED FIXED
Alias: None
Product: javame
Classification: Unclassified
Component: Build System (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Petr Suchomel
URL:
Keywords: RANDOM, REGRESSION
Depends on:
Blocks:
 
Reported: 2008-03-08 08:45 UTC by raiderski
Modified: 2008-03-21 14:56 UTC (History)
0 users

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 raiderski 2008-03-08 08:45:02 UTC
1. create new "Mobile" project
2. go to project "Properties"
3. select "Manage configurations"
4. "Add"
5. enter any name and Ok (new configuration is now on list)
6. close Project Configuration Manager
7. for example in "Platform": uncheck Use Values from "Default Configuration" and select any other Emulator
8. Ok to close "Properties" window
9. go to project "Properties" again

as you may notice Use Values from "Default Configuration" is selected again in "Platform" but this is happening in any
other category. this will happen even if you duplicate existing configuration - all settings will be lost
Comment 1 Lukas Hasik 2008-03-10 08:58:34 UTC
reproduced with 6.1 beta build on Ubuntu. It is not 100% reproducible. I played with the configuration saving for while
and it worked a few times. 

Karol, please look at it.
Comment 2 Karol Harezlak 2008-03-10 18:32:45 UTC
It's easy reproducible. I just briefly looked and I noticed that in class VisualPropetySupport in method
testForNonDefaultValue which checks if current properties is default read properties returns always null because last
added configuration is not included in this property.  I'm reassigning this to Petr since his in charge of Build system. 
Comment 3 Petr Suchomel 2008-03-17 17:22:12 UTC
It is 100% reproducible, but only if you change emulator but anything else. If you change any other property, all works fine
Comment 4 Petr Suchomel 2008-03-21 14:56:20 UTC
Fixed in CS 842df0af3c9f