Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Nodes are being removed after changes in page properties

Avatar

Avatar
Validate 1
Level 2
MikolajBuda
Level 2

Like

1 like

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 2
MikolajBuda
Level 2

Like

1 like

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
MikolajBuda
Level 2

07-01-2019

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?

Replies

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

07-01-2019

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

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

09-01-2019

If this keep happening  - please open a support ticket.

Avatar

Avatar
Validate 1
Level 2
MikolajBuda
Level 2

Like

1 like

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 2
MikolajBuda
Level 2

Like

1 like

Total Posts

12 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
MikolajBuda
Level 2

09-01-2019

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

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

10-01-2019

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