Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Nodes are being removed after changes in page properties

Avatar

Level 2

Hello,

I've just noticed that some nodes under jcr:content are being removed when editing specific page's properties from Touch UI mode. It doesn't happen when editing in Classic UI. Only some nodes are removed, couple of them stays untouched.

Here are some logs that I've found related to that issue:

07.01.2019 13:14:05.848 *DEBUG* [0:0:0:0:0:0:0:1 [1546863245647] POST /content/websites/opentemplate_example/en/masterpages/master-page-demo/_jcr_content HTTP/1.1] com.day.cq.wcm.msm.impl.postprocessing.GhostPostProcessor Process Modification Modification[type=DELETE, source=/content/websites/opentemplate_example/en/masterpages/master-page-demo/jcr:content/footer]

07.01.2019 13:14:05.849 *DEBUG* [0:0:0:0:0:0:0:1 [1546863245647] POST /content/websites/opentemplate_example/en/masterpages/master-page-demo/_jcr_content HTTP/1.1] com.day.cq.wcm.msm.impl.LiveRelationshipManagerImpl no relation for /content/websites/opentemplate_example/en/masterpages/master-page-demo/jcr:content/footer found.

07.01.2019 13:14:05.901 *DEBUG* [sling-oak-observation-8] com.day.cq.polling.importer.impl.PollingImporterImpl removeResource: No PollConfig at /content/websites/opentemplate_example/en/masterpages/master-page-demo/jcr:content/footer to unregister

07.01.2019 13:14:05.917 *DEBUG* [sling-oak-observation-14] com.day.cq.wcm.foundation.impl.HierarchyModificationListenerImpl Modification on /content/websites/opentemplate_example/en/masterpages/master-page-demo/jcr:content/footer. page=/content/websites/opentemplate_example/en/masterpages/master-page-demo, pageLevel=6, relLevel=2

07.01.2019 13:14:05.918 *DEBUG* [sling-oak-observation-16] com.day.cq.wcm.core.impl.event.RepositoryChangeEventListener jcr event path=/content/websites/opentemplate_example/en/masterpages/master-page-demo/jcr:content/footer type=2 external=false userid=admin

07.01.2019 13:14:05.921 *DEBUG* [sling-oak-observation-14] com.day.cq.wcm.foundation.impl.HierarchyModificationListenerImpl Modification on /content/websites/opentemplate_example/en/masterpages/master-page-demo/jcr:content/footer/jcr:primaryType. page=/content/websites/opentemplate_example/en/masterpages/master-page-demo, pageLevel=6, relLevel=3

07.01.2019 13:14:05.922 *DEBUG* [sling-oak-observation-16] com.day.cq.wcm.core.impl.event.RepositoryChangeEventListener jcr event path=/content/websites/opentemplate_example/en/masterpages/master-page-demo/jcr:content/footer/jcr:primaryType type=8 external=false userid=admin

07.01.2019 13:14:05.922 *DEBUG* [sling-oak-observation-14] com.day.cq.wcm.foundation.impl.HierarchyModificationListenerImpl Modification on /content/websites/opentemplate_example/en/masterpages/master-page-demo/jcr:content/footer/sling:resourceType. page=/content/websites/opentemplate_example/en/masterpages/master-page-demo, pageLevel=6, relLevel=3

07.01.2019 13:14:05.922 *DEBUG* [sling-oak-observation-16] com.day.cq.wcm.core.impl.event.RepositoryChangeEventListener jcr event path=/content/websites/opentemplate_example/en/masterpages/master-page-demo/jcr:content/footer/sling:resourceType type=8 external=false userid=admin

07.01.2019 13:14:05.931 *DEBUG* [sling-oak-observation-4] org.apache.sling.jcr.resource.internal.OakResourceListener deleted(path=/content/websites/opentemplate_example/en/masterpages/master-page-demo/jcr:content/footer, added=[], deleted=[sling:resourceType, jcr:primaryType], changed=[])

07.01.2019 13:14:05.931 *DEBUG* [sling-oak-observation-4] org.apache.sling.jcr.resource.internal.helper.jcr.JcrItemResourceFactory createResource: No JCR Item exists at path '/content/websites/opentemplate_example/en/masterpages/master-page-demo/jcr:content/footer'

07.01.2019 13:14:05.931 *DEBUG* [pool-83-thread-1] com.adobe.cq.social.enablement.reporting.management.listeners.impl.ResourceListener ResourceListener, event topic:org/apache/sling/api/resource/Resource/REMOVED, resourceType:null, propPath=/content/websites/opentemplate_example/en/masterpages/master-page-demo/jcr:content/footer

07.01.2019 13:14:05.931 *DEBUG* [sling-oak-observation-4] org.apache.sling.resourceresolver.impl.helper.ResourceResolverControl Resource null /content/websites/opentemplate_example/en/masterpages/master-page-demo/jcr:content/footer

It's running on AEM 6.2 SP1 CFP14. Could you please help me what setting/feature can be responsible for this?

4 Replies

Avatar

Level 10

I am checking internally to see if this is a known issue. This should not happen.

Avatar

Level 10

If this keep happening  - please open a support ticket.

Avatar

Level 2

We've managed to rename nodes' names in design for that template and it worked. It must be some conflict between names that we have chosen and nodes' names in wcm page from which it is derived.

Avatar

Level 10

Happy to hear it works. I have never heard of this workaround - thanks for posting.