You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "David Gonzalez (JIRA)" <ji...@apache.org> on 2016/12/04 02:41:58 UTC

[jira] [Created] (SLING-6361) ResourceChangeListeners do not hear changes on events emitted against ResourceProvider provided paths

David Gonzalez created SLING-6361:
-------------------------------------

             Summary: ResourceChangeListeners do not hear changes on events emitted against ResourceProvider provided paths
                 Key: SLING-6361
                 URL: https://issues.apache.org/jira/browse/SLING-6361
             Project: Sling
          Issue Type: Bug
            Reporter: David Gonzalez


I have a resource provider exposing non-JCR resources under `/virtual-mount` and am issuing my own Resource Change Events like so:

```
Map<String, String> props = new HashMap<String, String>();
props.put(SlingConstants.PROPERTY_PATH, "/virtual-mount/some/path");

eventAdmin.sendEvent(new Event(SlingConstants.TOPIC_RESOURCE_CHANGED, props));
```

It does not appear any ResourceChangeListener hears these events; Those provided by Sling or custom RCL's. Are there special considerations to ensure Events are heard for paths covered by custom ResourceProviders?

I am the ResourceResolver bundle 1.5.4 (can provide other Sling bundle versions as needed; im not quite sure which facet of Sling is responsible for this)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)