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 211771 - Prevent duplicate names of profiler custom configurations
Summary: Prevent duplicate names of profiler custom configurations
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Attach (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: jtau8042
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-26 09:30 UTC by jtau8042
Modified: 2012-05-10 10:00 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
fix (7.69 KB, patch)
2012-04-26 10:33 UTC, jtau8042
Details | Diff
duplicate name notification (4.37 KB, patch)
2012-05-02 10:20 UTC, jtau8042
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jtau8042 2012-04-26 09:30:20 UTC
Disable Ok buttons in Create/Duplicate/Rename dialogs if duplicate name of 
profiling configuratioun would be created.
Comment 1 jtau8042 2012-04-26 10:33:32 UTC
Created attachment 118797 [details]
fix

- using custom okButton for all types of dialog
- updateOkButton updated
- creation and display of the dialog unified
Comment 2 jtau8042 2012-05-02 10:20:19 UTC
Created attachment 118960 [details]
duplicate name notification

This patch improves the create/duplicate/rename profiler configuration by adding notification line to the dialog. When duplicate name is entered the notification line displays error text describing why the OK button is disabled.
Comment 3 Jiri Sedlacek 2012-05-02 10:51:57 UTC
The patches look good, feel free to integrate them.
Comment 5 Quality Engineering 2012-05-10 10:00:11 UTC
Integrated into 'main-golden', will be available in build *201205100400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/748f633a24b4
User: Jan Taus <jtau8042@netbeans.org>
Log: #211771: Prevent duplicate names of profiler custom configurations