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

Bug 354152

Summary: isSingleValue does not correctly handle the upperBound "-2"
Product: [Modeling] GMF-Tooling Reporter: Mickael Istria <mistria>
Component: CoreAssignee: Mickael Istria <mistria>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: borlander
Version: 2.3.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch none

Description Mickael Istria CLA 2011-08-08 11:12:48 EDT
Ecore model generated from XSD have an upperBound set to "-2". GMF does not correctly handle this value and then the isSingleValue helper returns a wrong value, leading to wrong code generated.
Comment 2 Mickael Istria CLA 2011-08-08 11:22:32 EDT
Created attachment 201084 [details]
Patch
Comment 3 Mickael Istria CLA 2011-08-08 12:01:57 EDT
Integration tests + Local test diagram editor working fine.
Committed