| Summary: | The sample Ecore modeler can create unserializable diagrams | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Laurent Redor <laurent.redor> | ||||
| Component: | Diagram | Assignee: | Laurent Redor <laurent.redor> | ||||
| Status: | CLOSED FIXED | QA Contact: | Belqassim Djafer <belqassim.djafer> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | florian.barbin, pierre-charles.david | ||||
| Version: | 0.9 | Keywords: | triaged | ||||
| Target Milestone: | 3.0.0M7 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Laurent Redor
The problem is in org.eclipse.sirius.ecore.design.service.EAttributeServices.renderDefaultValue(EAttribute, StringBuilder). The attr.getDefaultValue() returns the character '\u0000' (the default value for EChar data type). Review is available here: https://git.eclipse.org/r/38494 Fixed by 717204ab5d9b971004e696c8a84112e8f52aa79c. Apparently fixed for M5, but moving to M7 anyway so that is is validated with the rest and not forgotten. Verified with Sirius 3.0.0 RC1 Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0. |