| Summary: | In EARVirtualComponent.getHardReferences, need to get the archiveName directly from the referencedComponent, instead of getting it from the dependentObject | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Java EE Tools | Reporter: | Hari Shankar <hshanka> | ||||
| Component: | jst.j2ee | Assignee: | Hari Shankar <hshanka> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Chuck Bridgham <cbridgha> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | ccc | ||||
| Version: | unspecified | Flags: | cbridgha:
review+
|
||||
| Target Milestone: | 3.0.5 P | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Hari Shankar
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 |