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

Bug 343874

Summary: TypeError: remoteJsonData.Children[0] is undefined
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ClientAssignee: Szymon Brandys <Szymon.Brandys>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2011-04-26 11:25:26 EDT
I'm seeing lots of these errors when clicking around in the Navigator. It is because gitClient.js does this (line 488):

				dojo.xhrGet({
					url : remoteJsonData.Children[0].Location,


If the item has no children (for example a file), then remoteJsonData.Children[0] is undefined.
Comment 1 Szymon Brandys CLA 2011-04-27 12:52:30 EDT
Fixed.