-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: 2.4.0
-
Fix Version/s: None
-
Component/s: UI
-
Backlog priority:650
-
Team:UI
-
Sprint:UI - 2021-05, UI - 2021-06
The use case is to fill only a subset of properties of a complex element, e.g.
- user1 fills in complex:string1
- user2 fills in complex:string2
=> Only a subset of the complex property should be advertised to each user
Steps to reproduce :
1. Take an unused project and go in Modeler
2. Create a document type “File2” extending « File »
3. To the File2 document type, add a schema with a multivalued complex “cmplx” made of “string1” and “string2”
4. Go in Designer, and configure the screens for File2 (create edit view metadata)
5. In the “create” screen, there is a section Nuxeo-data-table for “cmplx” => edit it and remove “string2” from the subsection
6. Save the work in progress
7. In the “edit” screen, leave things as-is
Now, deploy the project on a Nuxeo 10.10-HF20 + WebUI instance
8. Boot and create a Workspace and a File2 document and enter values for string1
=> In the File2 create screen, notice that the values for string1 entered do not show up
9. In the metadata section, notice the number of values entered at create time is known, but the values is string1 is lost
10. When editing File2, in the edit screen, notice the number of values entered is known, but the values input at step 8 are lost.
11. In the metadata section, notice the number of values entered at edit time appear as in an expected situation
Expected result: removing in step 5 the “string2” from the create string (thus enabling the partial initialization of a complex) should leave make the create screen functional
A workaround has been found in creating an empty column for each missing sub-element... Then, everything happens OK: when filling in a value, the value can be seen and is saved
- is related to
-
ELEMENTS-1361 Document one column limitation on nuxeo-data-table
- Open
-
NXS-6167 Prevent Designer table editor from breaking the UI
- Open
-
NXS-5110 Complex property label not set on nuxeo-data-table
- Resolved
-
ELEMENTS-1047 Support multivalued complex filters and sorts in nuxeo-data-table
- Open