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.
I am trying to resolve conflict between the following two XML documents: <?xml version="1.0" encoding="UTF-8"?> <weblogic-ejb-jar> <weblogic-enterprise-bean> <ejb-name>Session1</ejb-name> <stateless-session-descriptor/> <transaction-descriptor/> <enable-call-by-reference>True</enable-call-by-reference> <jndi-name>Session1</jndi-name> <local-jndi-name>foobar</local-jndi-name> <==conflict </weblogic-enterprise-bean> </weblogic-ejb-jar> <?xml version="1.0" encoding="UTF-8"?> <weblogic-ejb-jar> <weblogic-enterprise-bean> <ejb-name>Session1</ejb-name> <stateless-session-descriptor/> <transaction-descriptor/> <enable-call-by-reference>True</enable-call-by-reference> <jndi-name>Session1</jndi-name> <local-jndi-name>barfoo </local-jndi-name> <==conflict </weblogic-enterprise-bean> </weblogic-ejb-jar> Using the resolver, I accepted the first version. After saving the result document, the line after the conflict disappeared. <?xml version="1.0" encoding="UTF-8"?> <weblogic-ejb-jar> <weblogic-enterprise-bean> <ejb-name>Session1</ejb-name> <stateless-session-descriptor/> <transaction-descriptor/> <enable-call-by-reference>True</enable-call-by-reference> <jndi-name>Session1</jndi-name> <local-jndi-name>foobar</local-jndi-name> <== MISSING!!! </weblogic-ejb-jar> Note that in the UI, the result document does show the missing line so something went wrong before or during the save.
Yes, that's true ! Here is the procedure how to reproduce the bug: 1. Have two different working dirs A and B against same CVS repository. 2. Create new dialog in A. "Add" and "Commit" it. 3. Check it out into B. Double click and set the title property to "aaa", save all, commit. 4. Double click the dialog in A. Set the title property to "bbb", save all and "Update" it. 5. Node becomes [Merge Conflicts]. Invoke "Resolve Conflicts".6. Select .form tab and "Accept" one solution. Push "OK" and "Yes" buttons. 7. New .form file will get invalid.
Fixed. This issue was originated as side effect of fix#31300. However the issue 31300 occured again as isuue 31965. Checking in src/org/netbeans/modules/merge/builtin/visualizer/MergeControl.java;/cvs/diff/src/org/netbeans/modules/merge/builtin/visualizer/MergeControl.java,v <-- MergeControl.java new revision: 1.15; previous revision: 1.14 done
Also in release35 branch. Checking in src/org/netbeans/modules/merge/builtin/visualizer/MergeControl.java;/cvs/diff/src/org/netbeans/modules/merge/builtin/visualizer/MergeControl.java,v <-- MergeControl.java new revision: 1.13.2.2; previous revision: 1.13.2.1 done
Also in release35-QBE200303112350 Checking in src/org/netbeans/modules/merge/builtin/visualizer/MergeControl.java; /cvs/diff/src/org/netbeans/modules/merge/builtin/visualizer/MergeControl.java,v <-- MergeControl.java new revision: 1.13.2.1.2.1; previous revision: 1.13.2.1 done
OK in NB35 #200306022350