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

Bug 511881

Summary: AST outline fails to show for mutated AST
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: 13.0   
Target Milestone: 14.0   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Michael Rennie CLA 2017-02-07 23:18:41 EST
Some of the parts of the tools mutate the AST while they are doing work on it: for example, while finding lineage we temporarily tag a node with its parents. 

If you happen to try opening the AST outline on such an AST, it will crunch away forever - node linked to parent, process parent, then child, then parent, then child, you get the idea.
Comment 1 Michael Rennie CLA 2017-02-07 23:20:54 EST
Fixed in:

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=191ff71a2c46d221b1c8ac132cdc15679cf6e6a0

We needed to make sure we ignore the parental properties we can set on the AST.