You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2017/12/15 11:29:00 UTC

[jira] [Comment Edited] (JCR-4173) Unable to receive observation events when connecting via DavEx

    [ https://issues.apache.org/jira/browse/JCR-4173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16153615#comment-16153615 ] 

Julian Reschke edited comment on JCR-4173 at 12/15/17 11:28 AM:
----------------------------------------------------------------

trunk: [r1807244|http://svn.apache.org/r1807244]
2.14: [r1807346|http://svn.apache.org/r1807346]
2.12: [r1810005|http://svn.apache.org/r1810005]
2.10: [r1811792|http://svn.apache.org/r1811792]
2.8: [r1818268|http://svn.apache.org/r1818268]



was (Author: reschke):
trunk: [r1807244|http://svn.apache.org/r1807244]
2.14: [r1807346|http://svn.apache.org/r1807346]
2.12: [r1810005|http://svn.apache.org/r1810005]
2.10: [r1811792|http://svn.apache.org/r1811792]


> Unable to receive observation events when connecting via DavEx
> --------------------------------------------------------------
>
>                 Key: JCR-4173
>                 URL: https://issues.apache.org/jira/browse/JCR-4173
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr-server
>    Affects Versions: 2.12.7, 2.10.6, 2.8.5, 2.6.9, 2.14.2, 2.15.5
>            Reporter: Robert Munteanu
>            Assignee: Julian Reschke
>              Labels: candidate_jcr_2_6
>             Fix For: 2.16, 2.12.8, 2.10.7, 2.14.3, 2.15.6, 2.8.7
>
>         Attachments: JCR-4173.diff, OAK-6583.zip, test-jcr-4173.zip
>
>
> 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 
> {noformat}
> <?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>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)