-
Task
-
Resolution: Unresolved
-
Major
-
4.2.0
-
None
-
None
-
1 - Middle term
-
1 - Easy
The implementation of the new attribute API implies a new storage.
The new API manages reading users stored with both new and old ways but it would be better to migrate all stored users to the new way.
There is only differences for multiple users. See below the example for a data named myUsers with 2 entries:
Old storage
- ametys:myUsers - jcr:primaryType: ametys:user, ametys:login: toto, ametys:populationId: pop
- ametys:myUsers[2] - jcr:primaryType: ametys:user, ametys:login: tata, ametys:populationId: pop
New storage
- ametys:myUsers - jcr:primaryType: ametys:multipleItem, typeId: user
- ametys:1 - jcr:primaryType: ametys:user, ametys:login: toto, ametys:populationId: pop
- ametys:2 - jcr:primaryType: ametys:user, ametys:login: tata, ametys:populationId: pop