Bug 581565 - [Table] Papyrus Table with tree contain proxy model element
Summary: [Table] Papyrus Table with tree contain proxy model element
Status: NEW
Alias: None
Product: Papyrus
Classification: Modeling
Component: Table (show other bugs)
Version: 6.3.0   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-21 11:31 EST by Jessy Mallet CLA
Modified: 2023-02-21 11:31 EST (History)
0 users

See Also:


Attachments
Use case to reproduce problem (2.72 KB, application/x-zip-compressed)
2023-02-21 11:31 EST, Jessy Mallet CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jessy Mallet CLA 2023-02-21 11:31:15 EST
After saving a Papyrus table (which encapsulate a tree viewer), input of the table has been changed.
We can see that order of element in the model is not the same as in the Model explorer view.
Moreover each element in the table is a Proxy. If you try to modify a feature from property view, modification is saved in the table but not in the semantic model. 

If you close your table editor and re-open it, all is fine. Element are attached to resource
You can make modifications and they are save in semantic model.
Comment 1 Jessy Mallet CLA 2023-02-21 11:31:49 EST
Created attachment 288976 [details]
Use case to reproduce problem

Steps to reproduce :
1- Download the attached model "testTables.zip" in your workspace 
2- open Papyrus project editor by double clicking on "testTables"
3- From model explorer view, create a Generic Tree table on the root model
4- Ensure that element have resource (you can for example select an element in the tree table and use Sirius interpreter view or you can modify a name of a selected element in the table trree and see that it is saved)
5- Save the table 
-> KO : order of element in the table have been changed and is not the same as in the model explorer view
-> KO : element from tree table ahave no resource attached
6- modify name from propertie view of a selected element in the tree table and save 
-> name is saved in the table but not in the model (close and reopen or just see model explorer view)