Community
Participate
Working Groups
Build Identifier: 305p The EARVirtualComponent uses the dependentObject on a ReferencedComponent in order to get to the URI. We need to move away from this, since the dependentComponent is often stale if the uri changes. Reproducible: Always
Created attachment 176572 [details] patch This patch removes the use of dependentObject, and directly gets the archive name from the referencedcomponent. If the archive name is not found, we follow the currently existing default name logic.
Some more additional information on this patch: The getHardReferences() method only returns an arraylist of IVirtualReference objects, hence it is not concerned with matching the specific reference from the component file with the corresponding entry in the module. Getting the archiveName from the dependentObject resulted in getting back stale values (we have seen this issue in other places as well), hence the decision not to get the archiveName from the dependentObject. I realize that the earlier title conveyed a scope much larger and unintended to be covered by this defect, hence changed the title as well. Requesting review of the patch.
approved
Committed to R3_0_5_patches