| Summary: |
[preferences] UserLibraryPreferencePage Edit/Remove do not work as expected when same jar is contained in 2 or more libs |
| Product: |
[Eclipse Project] JDT
|
Reporter: |
Raksha Vasisht <raksha.vasisht> |
| Component: |
UI | Assignee: |
Raksha Vasisht <raksha.vasisht> |
| Status: |
VERIFIED
FIXED
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
P3
|
CC: |
daniel_megert, deepakazad, markus.kell.r
|
| Version: |
3.7 | |
|
| Target Milestone: |
3.7 M1 | |
|
| Hardware: |
PC | |
|
| OS: |
Windows XP | |
|
| Whiteboard: |
|
| Attachments: |
| Description |
Flags |
|
Patch
|
daniel_megert:
review+
|
|
Created attachment 174583 [details] Patch I20100713-0800 Steps : 1) Go to UserLibraryPreferencePage, add a new lib and a jar under it (A -> x.jar) 2) Add another lib and same jar (B -> x.jar) 3) Edit one of the attributes in the second jar B -> x.jar => The value shows up in A-> x.jar . Same problem with Remove as well. Attaching a patch. We should refresh the parent container always since that uniquely identifies the list elements and the attributes and refreshes the appropriate element and not the first occurrence of the element in the tree.