The following porblem has been discovered by one of our teammates. Consider the following issue.
Config A has a list of objects let's call B, where B is an array of objects, whereeach object in B is a label and list of objects let's call it C.
Create for each item in B, a list of items then save.
Try to update the label in any item in B, as a result each sublist under each object in B, will be deleted as a result.
*The problem is i found it in code, you delete all items in the first level, and as a result in the second level.
Apache Sling Context-Aware Configuration Impl 1.4.6
Context-Aware Configuration Extensions 1.1.2
Thanks for the info. But, I have a question. Since i am not using the Context-Aware Configuration Extensions. Should i integrate it in my maven in order for this problem to be solved, or the new version Apache Sling Context-Aware Configuration Impl 1.4.6 is enough. Thanks in advance.
in this case it should be enough to update the sling caconfig impl bundle to 1.4.6 (once its released - you can test with the snapshot right now).
only if your are using AEM 6.3 you should consider using the wcm.io caconfig extensions with the "AEM page" persistence strategy - otherwise the partial implementation of such a strategy that is part of AEM 6.3 can produce strange result esp. with nested lists as described in this ticket.
I think you meant 1.4.5-snapshot, the only new version i find here is https://repository.apache.org/content/groups/snapshots/org/apache/sling/org.apache.sling.caconfig.impl/ is 1.4.5-SNAPSHOT/
yes this is correct - in sling even version (1.4.6) are always the release versions, uneval versions are used for snapshots (1.4.5-SNAPSHOT in this case).