Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 220555 - Adding a location or artifact with a duplicate name of a removed resource in a deployment does not work
Summary: Adding a location or artifact with a duplicate name of a removed resource in ...
Status: CLOSED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Bozier jerome CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 166025
  Show dependency tree
 
Reported: 2008-02-27 09:31 EST by Joel Cayne CLA
Modified: 2016-05-05 10:29 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Cayne CLA 2008-02-27 09:31:03 EST
1. Install TPTP 4.5.0 M5.
2. Create a Java Project.
3. Create a deployment with a location and artifact.
4. Create a pair in the deployment using the location and artifact.
5. Save and close the deployment.
6. Verify the pair exists.
7. Remove the location.
8. Save and close the deployment.
9. Verify that the location is not present and there is no pair.
10. Delete the location resource.
11. Create a location resource with the same name.
12. Add the location to the deployment. Optionally create a pair.
13. Save and close the deployment.
14. Verify the location is not present in the deployment.

The same can be done from steps 7 to 14 but replacing the location resource with the artifact resource. Creating a resource with a different name does not have this problem. If you create a new deployment with a removed resource the defect does not present itself.
Comment 1 Paul Slauenwhite CLA 2008-03-03 09:43:01 EST
Jerome, this should be done as a use case of enhancement 166025.
Comment 2 Bozier jerome CLA 2008-03-13 11:28:31 EDT
fixed with 166025 patch
Comment 3 Paul Slauenwhite CLA 2008-03-31 12:14:00 EDT
Deferring to I7 as discussed by PMC/AG (http://wiki.eclipse.org/TPTP-AG-20080331#Test_Project).
Comment 4 Bozier jerome CLA 2008-04-16 06:25:31 EDT
with latest patch for 166025, works fine now
Comment 5 Paul Slauenwhite CLA 2008-04-21 09:35:31 EDT
Resolved by defect https://bugs.eclipse.org/bugs/show_bug.cgi?id=166025.
Comment 6 Joel Cayne CLA 2008-05-12 08:53:16 EDT
Verified in TPTP 4.5 M7.