| Summary: | Adding API for expanding a consumes reference into its archive references | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Java EE Tools | Reporter: | Jason Peterson <jasonpet> | ||||||||
| Component: | jst.j2ee | Assignee: | Jason Peterson <jasonpet> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | Chuck Bridgham <cbridgha> | ||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | ccc, jsholl | ||||||||
| Version: | 3.2 | Flags: | jasonpet:
pmc_approved?
(david_williams) jasonpet: pmc_approved? (raghunathan.srinivasan) jasonpet: pmc_approved? (naci.dai) deboer: pmc_approved+ jasonpet: pmc_approved? (neil.hauge) jasonpet: pmc_approved? (kaloyan) ccc: review+ |
||||||||
| Target Milestone: | 3.2.1 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | PMC_approved | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Jason Peterson
Created attachment 173329 [details]
patch
Created attachment 173558 [details]
updated_patch
approved, Jason when adding PMC questions.. can you explain what happens today without this work? Is it a no-op? does it ignore the contained references. Also, this api is "additive", and will not affect other component or reference types * Explain why you believe this is a stop-ship defect. Or, if it is a
"hotbug" (requested by an adopter) please document it as such.
Clients will not currently get all a component's references(contained references within a container/library will be excluded) when calling the component's getReferences(Map options) method. API needs to be added to provide this list when required by clients.
* Is there a work-around? If so, why do you believe the work-around is
insufficient?
No work around exists.
* How has the fix been tested? Is there a test case attached to the
bugzilla record? Has a JUnit Test been added?
Fix has been tested by third party client code.
* Give a brief technical overview. Who has reviewed this fix?
A new map option has been created to allow clients calling getReferences(Map options) to request that all container/library references be expanded into their list of contained references.
Chuck has reviewed this fix.
* What is the risk associated with this fix?
little - since this is only additive API and does not affect existing behavior. The contained references will continue to be ignored if the new map option is not specified.
Created attachment 173676 [details]
patch_with_updated_prereq
Updated the j2ee plugin's modulecore minimum version prereq
Marking this as reviewed - Chuck did review this, but the flag got reset when Jason P marked the bug for PMC approval. +1. Patch is large, but ugly if we don't fix. Consistent solution to the problem. Committed to HEAD for WTP 3.2.1 and WTP 3.3 |