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 233524 - Inspect & Transform: all configurations are the same, changing config changes them all
Summary: Inspect & Transform: all configurations are the same, changing config changes...
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2013-07-27 06:19 UTC by MackSix
Modified: 2013-08-04 10:19 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 MackSix 2013-07-27 06:19:41 UTC
1. Run Inspect & Transform.
2. Click Manage button.
3. Look at all 3 existing configs and they have all the same Inspections.
4. Change Inspections for one config and they all change to match.


Same thing happens when adding a custom config, it overwrites the others.

Product Version: NetBeans IDE Dev (Build 201307252300)
Updates: Updates available
Java: 1.7.0_40-ea; Java HotSpot(TM) 64-Bit Server VM 24.0-b53
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-ea-b34
Comment 1 Jan Lahoda 2013-07-29 08:35:15 UTC
Fixed:
http://hg.netbeans.org/jet-main/rev/813e6fc13cdf
Comment 2 Quality Engineering 2013-08-01 02:36:24 UTC
Integrated into 'main-silver', will be available in build *201307312300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/813e6fc13cdf
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #233524: correcting reading/writing of configurations in HintsPanel.
Comment 3 MackSix 2013-08-04 10:06:21 UTC
There seems to be some side effects.

1. I can created as many duplicate configurations of "Default" as I want and the name is the same for all the duplicates--"Default1". 

2. If I delete Default1 and it's duplicates, then when I duplicate Default (make Default1 again) the settings for the deleted profile are persisting and as soon as I check an Inspection node, all the nodes from the deleted profile are auto-checked. (If the node I click happened to be in the deleted profile, it is actually unchecked.)

Expected: Duplicate configurations are created with unique name. No creation of duplicate names allowed. Settings are completely deleted when a configuration is deleted.

Product Version: NetBeans IDE Dev (Build 201308022300)
Updates: Updates available
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b16
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 4 MackSix 2013-08-04 10:15:13 UTC
I created new Issue 233912
Comment 5 MackSix 2013-08-04 10:19:11 UTC
Verified fixed. The new Issue 233912 is the same behavior as in v7.3.1.