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.
After your recent changes, I have found another serious issue. I guess this issue applies for _all_ IDE Options, not only the PHP ones. Steps: - have a clean userdir - start IDE, open IDE Options > PHP > Frameworks & Tools > Composer - (at least some fields should be prefilled by default - Vendor & Author ones but they are empty) - fill e.g. "aaa" into Vendor field - OK - restart IDE - open IDE Options > PHP > Frameworks & Tools > Composer -> field Vendor is empty but it should not be (the value is properly stored in the property file in userdir) The cause is in the update() method, you are setting the values to the UI only if they are not changed - this is incorrect for the first opening (saved value is different than the displayed one, of course). Thanks. Product Version: NetBeans IDE Dev (Build 20140127-718415a60def) Java: 1.7.0_51; Java HotSpot(TM) 64-Bit Server VM 24.51-b03 Runtime: Java(TM) SE Runtime Environment 1.7.0_51-b13 System: Linux version 3.11.0-15-generic running on amd64; UTF-8; cs_CZ (nb)
One note - I forgot that I am currently improving Composer Options (changing all error messages to warnings) so you will not be able to save it with only Vendor value. Simply choose another panel, e.g. PHPUnit one. Thanks.
BTW if one closes IDE Options and opens them again (without restarting IDE), the values are in the UI set properly.
Changeset: b72bf9a105ac Author: Theofanis Oikonomou <theofanis@netbeans.org> Date: 2014-01-27 18:18 Message:
(In reply to Tomas Mysik from comment #0) > > The cause is in the update() method, you are setting the values to the UI > only if they are not changed - this is incorrect for the first opening > (saved value is different than the displayed one, of course). > This is the root problem. Thank you for catching this and for the evaluation. I believe that now even during the first opening of every panel under Frameworks & Tools the saved values, if any, are loaded successfully.
Integrated into 'main-silver', will be available in build *201401280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b72bf9a105ac User: Theofanis Oikonomou <theofanis@netbeans.org> Log: Task #240995 - No IDE Options set properly on 1st open
Verified. Product Version: NetBeans IDE Dev (Build 20140128-f7fce9a9e53a) Java: 1.7.0_51; Java HotSpot(TM) 64-Bit Server VM 24.51-b03 Runtime: Java(TM) SE Runtime Environment 1.7.0_51-b13 System: Linux version 3.11.0-15-generic running on amd64; UTF-8; cs_CZ (nb)