Are event properties like resourceAddedAttributes and resourceChangedAttributes no longer supported in AEM 6.3? | Community
Skip to main content
Level 3
May 22, 2018 3:13 AM UTC
Solved

Are event properties like resourceAddedAttributes and resourceChangedAttributes no longer supported in AEM 6.3?

We have a listener that's failing on us that has a filter that has filters like this.

(resourceType=ourOurg/components/content/ourComponent)

(resourceChangedAttributes=ctaPath)

(path=/content/*)

What's happening is that the event isn't firing. When I remove these filters and leave behind the path filter the event fires, but when I debug it it's missing those properties.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
May 22, 2018 9:53 PM UTC

I thinks , this is duplicate post for AEM 6.3 Event problem

Arun Patidar

4 replies

Level 3
Jun 7, 2018 7:17 PM UTC

I think you're right in hindsight. Fixing this.

Translate
arunpatidar
arunpatidarAccepted solution
New Participant
May 22, 2018 9:53 PM UTC

I thinks , this is duplicate post for AEM 6.3 Event problem

Translate
Arun Patidar
Level 3
May 22, 2018 4:49 PM UTC

I tried that and the data  what changed is null. So I can (through either the event handler or the resource changed listener) listen for resource changes. It just looks like the subsystem won’t tell me what actually changed, which is what I need to fix this service.

Translate
arunpatidar
New Participant
May 22, 2018 8:24 AM UTC

Hi,

It seems, it is deprecated you can try to use ResourceChangeListerner instead.

org.apache.sling.api.SlingConstants.TOPIC_RESOURCE_CHANGED

Register a ResourceChangeListener instead

http://static.javadoc.io/org.apache.sling/org.apache.sling.api/2.11.0/deprecated-list.html

Thanks

Arun

Translate
Arun Patidar