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 85763 - Name Conflict dialog appears for every element from java project
Summary: Name Conflict dialog appears for every element from java project
Status: RESOLVED WONTFIX
Alias: None
Product: uml
Classification: Unclassified
Component: Reverse Engineering (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Craig Conover
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-26 12:25 UTC by Alexandr Scherbatiy
Modified: 2006-10-26 17:31 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Java Project (SimpleGraphEditor) (22.76 KB, application/octet-stream)
2006-09-26 12:27 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2006-09-26 12:25:44 UTC
Steps to reproduce:


- Do Reverse Engineering of the attached java project and create a UML Project
- Go to the java project 
- Refactor -> Rename the 'diagram.Diagram' class to 'diagram.MyDiagram'
- Select the java project and invoke 'Update Model'
  'Save Project' dialog appears
- Press 'Yes' button
- 'Name Conflict' dialog appears
- Press 'Yes' button if want to replace the existing java class
  or 'No'  in other case
- The 'Name Conflict' dialog appears for the next elements
  The problem is that user wants to overwrite some classes
  and does not want to overwrite others. 
  It is annoying to press 'Yes' or 'No' button on the big amount of dialogs.

  There should be one dialog which has list of all classes from the java
  project.  So user will be able to select the classes which should be 
  overwritten only on one dialog.

  Note that "Don't ask me again" checkbox from 'Name Conflict' dialog does not 
  help because some of the classes should be overwritten and some should not.
Comment 1 Alexandr Scherbatiy 2006-09-26 12:27:40 UTC
Created attachment 34506 [details]
Java Project (SimpleGraphEditor)
Comment 2 Alexandr Scherbatiy 2006-10-06 15:21:46 UTC
Use 'Reverse Engineer' action instead of 'Update Model'
Comment 3 Craig Conover 2006-10-09 21:33:47 UTC
Requesting a dialog with a list of elements to overwrite for the purpose of
selecting only those that are desired to be overwritten is an enhancement, not a
defect. It is currently working as it was in the previous version.

The name conflict dialog needs some addressing, but that is filed in issue 86495.

Changing this to an Enhancement issue, but this is not how we planned to address
this in the upcoming release, so I am also marking as WONTFIX.

Comment 4 Andrew Korostelev 2006-10-10 10:18:58 UTC
quotation from "An issue's life cycle" help page:
WONTFIX: The problem described is an issue which will never be fixed.

Therefore it can't be used here.
Setting type to 'ENHANCEMENT' is enough.
Comment 5 Craig Conover 2006-10-12 17:31:20 UTC
I guess what I am trying to say is that it works as designed. If you only want
to overwrite certain elements, then those elements should be selected prior to
invoking the RE action. A group composed of engineers, managers, QA, & Docs
agreed that to show second dialog of elements so that they can be selected or
deselected for the purpose of overwrite authorization was redundant because they
had already selected the nodes.

I guess if the issue gets enough votes from the community, we'll prioritize it
appropriately.
Comment 6 Craig Conover 2006-10-26 17:31:28 UTC
This has been addressed and resolved with the Yes/No/Yes to All/No to All dialog.