Community
Participate
Working Groups
A String EAttribute is editable via default properties (there is no declaration in any .design, so the default behavior is active) although in the genmodel, the attribute is marked as "Property Type: None" or "Property Type: ReadOnly". This genmodel property affects the generation of .edit.*ItemProvider, especially the getPropertyDescriptors method.
Steps to reproduce: * Import projects from WorkspaceProjects.zip into workspace (metamodel, edit, editor and VSP) * Launch a runtime * Import the project SampleInstance from RuntimeProject.zip * Open the session and the diagram "new MyDiagram" * In the "Main" section of the Properties section, the "Name" field is OK (writable). But the "Read Only Attribute" is writable too. It should not.
Created attachment 271268 [details] WorkspaceProjects.zip
Created attachment 271269 [details] RuntimeProject.zip
For information, the projects for steps to reproduce are made with Sirius 5.1.0 RC4.
Thanks for your detailed bug report. We have reproduced this issue and we consider it as valid. Nevertheless, it's not yet in the scope of a future release.
The last comment seems to imply that this bug will not be fixed, although the issue is still open. So in the hope I can re-ignite interest in solving this bug (which I am currently facing), I thought I add a "+1" to fix this problem.