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

Bug 312080

Summary: [Java Discoverer] Unresolved fields are not well managed
Product: [Modeling] MoDisco Reporter: Nicolas Guyomar <nicolas.guyomar>
Component: TechnologiesAssignee: Gabriel BARBIER <barbier.gabriel>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: barbier.gabriel, fabien.giquel, gdupe, hugo.bruneliere, modisco.web-inbox, nicolas.bros
Version: 0.8.0Flags: nicolas.bros: indigo+
Target Milestone: 0.9.0 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
java file with field "x" and package "x" resulting in discovering errors none

Description Nicolas Guyomar CLA 2010-05-07 11:00:49 EDT
Created attachment 167492 [details]
java file with field "x" and package "x" resulting in discovering errors

Hi,

When discovering a java file with Modisco Java Discoverer, an error occured with unresolved fields.

If a field has the same name as the declared package in the file, Modisco Java Discoverer does not handle the field, but creates an expression with both leftHandSide et rightHandSide with empty elements.

To reproduce the bug, please discover the attached file.

Regards,

Nicolas
Comment 1 Gabriel BARBIER CLA 2011-01-12 11:00:02 EST
Fixed in revision 3725.
Comment 2 Hugo Bruneliere CLA 2011-08-18 07:32:23 EDT
Bug fixed.