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.
Summary: | Rename cmr field not propagated to cmp mapping | ||
---|---|---|---|
Product: | serverplugins | Reporter: | Rochelle Raccah <raccah> |
Component: | Sun Appserver 8 | Assignee: | Rajeshwar Patil <rajeshwarpatil> |
Status: | CLOSED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 4.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Rochelle Raccah
2005-04-05 00:31:34 UTC
It's very difficult to find the error after renaming CMR field. I'm changing priority to P2 and the issue should be resolved in NB 4.1. No, they are not related. I have advised Rajeshwar on the fix. This issue has been fixed in the trunk. Modified Files: libsrc/org/netbeans/modules/j2ee/sun/share/configBean/EjbJarRoot.java new revision: 1.13; previous revision: 1.12 fixed in trunk so far. Diff is small: D:\src\netbeans\j2ee_all\iplanet\s1dp\netbeans-j2ee\j2ee\appsrv-plugin\libsrc\org\netbeans\modules\j2ee\sun\share\configBean>cvs diff EjbJarRoot.java Index: EjbJarRoot.java =================================================================== RCS file: /m/src/iplanet/s1dp/netbeans-j2ee/j2ee/appsrv-plugin/libsrc/org/netbeans/modules/j2ee/sun/share/configBean/EjbJarRoot.java,v retrieving revision 1.12 diff -r1.12 EjbJarRoot.java 685c685 < if (pfe != null) --- > if (pfe != null){ 686a687,696 > if (pfe instanceof RelationshipElement) > { > RelationshipElement relationship = (RelationshipElement)pfe; > RelationshipElement inverse = > relationship.getInverseRelationship(model); > > if (inverse != null) > inverse.setInverseRelationship(relationship, model); > } > } 1205a1216,1223 > } else if(xpathEvent.isChangeEvent()) { > if (beanName != null) { > PropertyChangeEvent changeEvent = > xpathEvent.getChangeEvent(); > renameMappingForCmpField(beanName, > changeEvent.getOldValue().toString(), > changeEvent.getNewValue().toString()); > } 1207c1225 < } --- > } Verified in NB trunk 20050410. Please, commit to netbeans4.1 branch. done in 4.1 branch [Build 20050413] |