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

Bug 377240

Summary: git status - Type Error when staging a file
Product: [ECD] Orion Reporter: Susan McCourt <susan>
Component: GitAssignee: libing wang <libingw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: libingw
Version: 0.5   
Target Milestone: 0.5 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
screenshot with grayed out unstaged item and error in console none

Description Susan McCourt CLA 2012-04-19 23:16:16 EDT
Created attachment 214283 [details]
screenshot with grayed out unstaged item and error in console

In today's build, when I try to stage an individual file, I get a type error like this:

DOMException
code: 1
message: "INDEX_SIZE_ERR: DOM Exception 1"
name: "INDEX_SIZE_ERR"
__proto__: DOMException

At this point, the file goes gray in the staged list.
It shows no diffs (so I think it actually staged and the UI update failed?)
It doesn't appear in the staged list.

If I reload the page, it appears in the staged list.

Not every file fails, but it happens quite frequently.
Comment 1 libing wang CLA 2012-04-20 15:37:13 EDT
There were holes when destrying editor after you stage or unstage a file.

fixed with http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=b15d43e01146e7fcba99bf4cad4bf7828fc2aa05.