Details
Description
When connecting to an Oak repository by DavEx remoting ( via Sling ) event listeners are not notified of events they are registered for.
Tracing down the problem I saw that the returned XML for POLL calls is invalid: ::::1:529:-1:The prefix "jcr" for element "jcr:primaryType" is not bound.
The raw XML returned is
<?xml version="1.0" encoding="UTF-8" standalone="no"?><dcr:eventdiscovery xmlns:dcr="http://www.day.com/jcr/webdav/1.0"><dcr:eventbundle><dcr:event><D:href xmlns:D="DAV:">http://localhost:8888/server/default/jcr%3aroot/123d9c7a-9b14-4cc2-8436-3c2ca04e64ac/</D:href><dcr:eventtype><dcr:nodeadded/></dcr:eventtype><dcr:eventuserid>admin</dcr:eventuserid><dcr:eventuserdata/><dcr:eventdate>1503526390002</dcr:eventdate><dcr:eventidentifier>/123d9c7a-9b14-4cc2-8436-3c2ca04e64ac</dcr:eventidentifier><dcr:eventinfo><jcr:primaryType>nt:unstructured</jcr:primaryType></dcr:eventinfo></dcr:event><dcr:event><D:href xmlns:D="DAV:">http://localhost:8888/server/default/jcr%3aroot/123d9c7a-9b14-4cc2-8436-3c2ca04e64ac/jcr%3aprimaryType</D:href><dcr:eventtype><dcr:propertyadded/></dcr:eventtype><dcr:eventuserid>admin</dcr:eventuserid><dcr:eventuserdata/><dcr:eventdate>1503526390002</dcr:eventdate><dcr:eventidentifier>/123d9c7a-9b14-4cc2-8436-3c2ca04e64ac</dcr:eventidentifier><dcr:eventinfo><jcr:primaryType>nt:unstructured</jcr:primaryType><afterValue>nt:unstructured</afterValue></dcr:eventinfo></dcr:event></dcr:eventbundle></dcr:eventdiscovery>
Attachments
Attachments
Issue Links
- blocks
-
SLING-3228 PostServletPrivilegesUpdateTest integration test fails with Oak, needs test categories
- Resolved
- is blocked by
-
JCR-4177 move Mockito version to parent pom
- Closed
- is related to
-
JCR-4178 Mismatch between Event.getInfoMap use in Oak and JCR remoting
- Open
- relates to
-
OAK-1669 JCR Event Info should contain NodeType for all Events
- Closed