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 213088 - Tree and Advanced root selectors are not synchronized properly for default package
Summary: Tree and Advanced root selectors are not synchronized properly for default pa...
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: jtau8042
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-28 11:35 UTC by jtau8042
Modified: 2012-06-05 06:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
fix (8.80 KB, patch)
2012-05-29 13:51 UTC, jtau8042
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jtau8042 2012-05-28 11:35:28 UTC
In the profiling root selection dialog:

Scenario 1:
  1) remove any selection in the tree
  2) in the project containing default package select one non-default package
  3) click "Advanced..." button
  4) add ".*" pattern to the list
  5) click "Ok" to close the dialog
  6) the <default> package should be checked now, uncheck it
  7) click "Advanced..." button
  8) BUG: ".*" pattern remained in the list

Scenario 2:
  1) remove any selection in the tree
  2) open default package in the tree, then open one class
  3) check constructors
  4) click "Advanced..." button
  5) there should be list of constructors in the advanced list
  6) click "Ok" to close the dialog
  7) BUG: whole tree is now unchecked
  8) click "Advanced..." again
  9) BUG: the constructors are present in the list
Comment 1 jtau8042 2012-05-29 13:51:36 UTC
Created attachment 119995 [details]
fix

There are actually two problems solved:
1) user edit the readable form of class name instead the internal representation  which differ in case of default package
2) SourceCodeSelection#contains(...) fixed for default packages
Comment 2 J Bachorik 2012-05-29 14:25:18 UTC
The patch is ok. Please, proceed with integration.
Comment 3 jtau8042 2012-05-29 14:30:02 UTC
Changeset: http://hg.netbeans.org/profiler-main/rev/4286abb973e5
Comment 4 Quality Engineering 2012-06-05 06:03:14 UTC
Integrated into 'main-golden', will be available in build *201206050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4286abb973e5
User: Jan Taus <jtau8042@netbeans.org>
Log: #213088: Tree and Advanced root selectors are not synchronized properly for default package