wcm-io / io.wcm.caconfig.editor

Context-Aware Configuration Editor Template for AEM.
Apache License 2.0
3 stars 7 forks source link

Context aware configuration | Issue with nested configurations #38

Open janemartin opened 1 month ago

janemartin commented 1 month ago

Hi Team,

When we author an inner context aware configuration without first authoring the outer configuration, it gets saved as a folder in CRX although we have PagePersistenceStrategy enabled, and when published these changes don’t appear in the publisher. However, if we save the parent configuration before creating the child configuration, it gets saved as a cq:Page without any issues and works as expected. I have provided the detailed steps for more clarity on the issue:

Please note: If we author and save the parent configuration first, then proceed to author child configuration, it works as expected and node is cq:Page. Problem only exists if child configuration is authored first.

Environment: AEMaaCS DEV Version:2024.6.16971.20240628T122619Z

config_with_child_config inner_config crx_folder_node

Please let us know if any solution for this, or if this is the expected behavior. Thanks!

stefanseifert commented 1 month ago

i was not able to reproduce the problem - neither locally on AEMaaCS SDK nor on an actual AEMaaCS cloud instance. are you a) using the latest io.wcm.caconfig.editor version and b) using the AEM Page persistence strategy from latest io.wcm.caconfig.extensions?

what i did to try to reproduce the problem:

the node is created as expected with

can you reproduce your problem with our sample app?