Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312080 - [Java Discoverer] Unresolved fields are not well managed
Summary: [Java Discoverer] Unresolved fields are not well managed
Status: CLOSED FIXED
Alias: None
Product: MoDisco
Classification: Modeling
Component: Technologies (show other bugs)
Version: 0.8.0   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: 0.9.0 M5   Edit
Assignee: Gabriel BARBIER CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-07 11:00 EDT by Nicolas Guyomar CLA
Modified: 2011-08-18 07:32 EDT (History)
6 users (show)

See Also:
nicolas.bros: indigo+


Attachments
java file with field "x" and package "x" resulting in discovering errors (96 bytes, application/octet-stream)
2010-05-07 11:00 EDT, Nicolas Guyomar CLA
no flags Details

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