Community
Participate
Working Groups
Build Identifier: 305P As part of bug 322678 we moved the EarVirtualComponent.getHardReferences method to use archiveName instead of the dependentObject. This is causing the EAR validator to get out of sync when the user imports an older project that does not contain the archiveName set in the .component file. This patch enhances the previous patch as follows: 1. First try to get the archiveName using referencedComponent.getArchiveName() 2. If step 1 returns null, fall back on old method (referencedComponent.getDependentObject())) to ensure backward toleration 3. If step 2 returns null compute the default archiveName. Patch attached for review. Reproducible: Always
Created attachment 186930 [details] patch Patch
approved
Committed to R3_0_5_patches