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.
reproducible with 070221_1 See also 95782 steps: 1. create package 2.add class to the package 3. add operation to the class 4. generate code 5. re on the operation created diagram is dirty
The fact that a newly created diagram from RE an operation is marked dirty is a corrected behavior. In coco build, the same diagram is actually dirty upon being created but is not accurately marked dirty, and when it is closed it's auto saved without asking users. With the fixes involving "save/save all" issues that Sheryl has recently put in, the dirty state of a diagram is now being displayed properly and the users are prompted to save the diagram accordingly when closing it. Marking the issue as WONTFIX.
After getting some feedback from the QA team, we decided to fix this bug; hence reopening the issue.
Added a logic to auto save the RE Operation diagram right after it is generated. This auto-save behavior also applies for diagrams generated by invoking CDFS and Generate Dependency Diagram.
verified in build 070223_1. The created diagram is now auto saved if closed without explicitly saving it first. verified in both collab and sequence diagrams.