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 240581

Summary: Inconsistent activation/deactivation of Apply button from PHP->Frameworks & Tools options->Composer panel
Product: platform Reporter: Theofanis Oikonomou <theofanis>
Component: Options&SettingsAssignee: Theofanis Oikonomou <theofanis>
Status: RESOLVED FIXED    
Severity: normal CC: MackSix
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Mac OS X   
See Also: https://netbeans.org/bugzilla/show_bug.cgi?id=240987
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 239792    

Description Theofanis Oikonomou 2014-01-17 09:30:34 UTC

    
Comment 1 Theofanis Oikonomou 2014-01-17 10:22:25 UTC
Changeset: 54cac6bf37a9
Author:    Theofanis Oikonomou <theofanis@netbeans.org>
Date:      2014-01-17 11:21
Message:
Comment 2 Quality Engineering 2014-01-18 04:52:48 UTC
Integrated into 'main-silver', will be available in build *201401180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/54cac6bf37a9
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Task #240581 - Inconsistent activation/deactivation of Apply button from PHP->Frameworks & Tools options->Composer panel
Comment 3 MackSix 2014-01-26 22:39:49 UTC
If it is a new installation or I delete the userdir, the Apply button must be clicked twice and then after that it will work OK only pressing one time.

Also, this category can cause problems on Windows 7 if someone is trying to setup another PHP >> Frameworks & Tools category. If the Composer category is clicked on, it may or may not auto populate the Vendor, Author Name and Author Email fields and will render the Apply button and most likely the OK button deactivated and you can't configure another category because blank fields are invalid. If the 3 fields _are_ automatically populated and the Windows username has a number in it, it will be populated in the Author field, which is invalid and it will still cause the Apply button and most likely the OK button deactivated resulting in the same frustration.

These fields should _always_ be populated with valid dummy data so not to mess up the OK and Apply buttons for other categories. But this may need to be filed a separate issue for PHP devs.

Product Version: NetBeans IDE Dev (Build 201401260001)
Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b65
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b123
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 4 MackSix 2014-01-26 22:59:53 UTC
I filed a seperate issue for Composer field problems. Issue 240987
Comment 5 Theofanis Oikonomou 2014-01-27 16:43:59 UTC
(In reply to MackSix from comment #4)
> I filed a seperate issue for Composer field problems. Issue 240987

The remaining issue will be fixed with bug 240995. It is a matter of not initializing and populating the UI with the correct data on first show of the panel.