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

Bug 369665

Summary: git-repository.html - error on checkout branch is not shown
Product: [ECD] Orion Reporter: Malgorzata Janczarska <malgorzata.tomczyk>
Component: GitAssignee: Malgorzata Janczarska <malgorzata.tomczyk>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Szymon.Brandys
Version: unspecified   
Target Milestone: 0.4 RC1   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 370250    
Bug Blocks:    

Description Malgorzata Janczarska CLA 2012-01-25 09:09:36 EST
To reproduce:
1. Checkout one branch from the repository
2. Make changes, so that they conflict with the other branch (don't commit)
3. Go to git-repository.html and try to check out the other branch
Result:
* checkout branch call return "error: conflicting" [GOOD]
* branch is not checked out [GOOD]
* git-repository page is reloaded [NOT GOOD]
* error in checkout is not shown, or maybe it's shown but immediately erased by status messages from reloading the page [BUG]
Extected:
* git-repository is not reloaded
* you can read the error in status
Comment 1 Malgorzata Janczarska CLA 2012-01-25 09:35:55 EST
I've check how it looks like on the old git repository page. The response code is 409 and an error should be reported, but UI status says OK, so this is bad. However in the new repository page even if the error was reported correctly it would be erased by status messages from reloading the page, so it looks like we have two problems to solve.
Comment 2 Malgorzata Janczarska CLA 2012-01-31 12:44:52 EST
Fixed with Bug 370250.