Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369665 - git-repository.html - error on checkout branch is not shown
Summary: git-repository.html - error on checkout branch is not shown
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Git (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.4 RC1   Edit
Assignee: Malgorzata Janczarska CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 370250
Blocks:
  Show dependency tree
 
Reported: 2012-01-25 09:09 EST by Malgorzata Janczarska CLA
Modified: 2012-01-31 12:44 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.