Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 347167

Summary: [server][git] CloneJob creates new project even if job failed
Product: [ECD] Orion Reporter: Malgorzata Janczarska <malgorzata.tomczyk>
Component: ClientAssignee: Tomasz Zarna <tomasz.zarna>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: bokowski
Version: 0.2Flags: malgorzata.tomczyk: review+
Target Milestone: 0.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Malgorzata Janczarska CLA 2011-05-25 10:48:43 EDT
I tried to clone the orion client with my fresh Orion, the scenario was as follows:
1. Try to clone client to a new project
2. Operation failed because of lack of known hosts [GOOD]
3. Provide known hosts and renew
4. Operation failed because of lack of credentials [GOOD]
5. Provide credentials and renew
6. Operation successful [GOOD]
7. Go to navigator
8. There are 3 projects created of the name provided in 1. [BAD]
9. Two first projects give 404 on open attempt [BAD]
10. One has clone content indite

I suppose the first two projects were created in points 2 and 4.
Comment 1 Tomasz Zarna CLA 2011-05-25 10:52:06 EDT
Apparently CloneJob/Handler doesn't clean up after itself.
Comment 2 Szymon Brandys CLA 2011-06-07 03:31:11 EDT
*** Bug 348162 has been marked as a duplicate of this bug. ***
Comment 3 Boris Bokowski CLA 2011-06-07 16:03:04 EDT
This is a must fix for 0.2.
Comment 4 Malgorzata Janczarska CLA 2011-06-08 11:27:56 EDT
I've seen the code and it looks fine.
Comment 6 Tomasz Zarna CLA 2011-06-08 11:47:51 EDT
Created attachment 197616 [details]
mylyn/context/zip