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 87411

Summary: live roundtrip is enabled after inserting initialized attribute into element
Product: uml Reporter: Andrew Korostelev <akorostelev>
Component: SynchronizationAssignee: Craig Conover <conover>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Andrew Korostelev 2006-10-18 14:41:45 UTC
Live roundtrip is not disabled completely.
It is enabled again after e.g. inserting two attributes to interface before
naming it. 


- Create a Java application
- Reverse engineer the Java application into UML project
- Create a Class diagram
- Put an Interface element onthe diagram and do NOT name it
- Insert 'public int a = 0' attribute into the element (value is added
automatically)
- Insert 'public int b = 0' attribute into the element
- name interface element.

Source file for interface is generated in java project.
Live roundtrip is now enabled and will work for all new elements and RE uml
projects..
Comment 1 Craig Conover 2006-10-18 17:48:33 UTC
Set to P1 because going LIVE with RT is bad news.
Comment 2 Craig Conover 2006-10-19 01:11:25 UTC
Going right to the root where RT mode is switched to LIVE, BATCH or OFF and just
preventing it from being set to LIVE. This in contrast to disabling all possible
points that are clients of the setMode method.
Comment 3 Craig Conover 2006-10-19 01:38:11 UTC
When RTM_LIVE is passed into setMode of RoundTripContorller, it is ignored.
Comment 4 Andrew Korostelev 2006-10-19 10:11:08 UTC
verified in all-nbms-griffin-061018_35