You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Manfred Baedke (JIRA)" <ji...@apache.org> on 2008/09/19 16:08:44 UTC

[jira] Created: (JCR-1744) PROPFIND response to a request for a property that does not exist reports an empty DAV:prop element

PROPFIND response to a request for a property that does not exist reports an empty DAV:prop element  
-----------------------------------------------------------------------------------------------------

                 Key: JCR-1744
                 URL: https://issues.apache.org/jira/browse/JCR-1744
             Project: Jackrabbit
          Issue Type: Bug
          Components: jackrabbit-webdav
            Reporter: Manfred Baedke
            Priority: Minor


A PROPFIND response to a request for a property that does not exist reports an empty DAV:prop element:

Request:

<propfind xmlns="DAV:"><prop><doesnotexist/></prop></propfind>

Response:

<D:multistatus xmlns:xml='http://www.w3.org/XML/1998/namespace' xmlns:D='DAV:'>
  <D:response>
    <D:href>...</D:href>
    <D:propstat>
      <D:prop/>
      <D:status>HTTP/1.1 200 OK</D:status>
    </D:propstat>
    <D:propstat>
      <D:prop><D:doesnotexist/></D:prop>
      <D:status>HTTP/1.1 404 Not Found</D:status>
    </D:propstat>
  </D:response>
</D:multistatus>

  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JCR-1744) PROPFIND response to a request for a property that does not exist reports an empty DAV:prop element

Posted by "Julian Reschke (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-1744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Reschke resolved JCR-1744.
---------------------------------

    Resolution: Fixed

> PROPFIND response to a request for a property that does not exist reports an empty DAV:prop element  
> -----------------------------------------------------------------------------------------------------
>
>                 Key: JCR-1744
>                 URL: https://issues.apache.org/jira/browse/JCR-1744
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-webdav
>            Reporter: Manfred Baedke
>            Priority: Minor
>         Attachments: patch-jcr1744.txt
>
>
> A PROPFIND response to a request for a property that does not exist reports an empty DAV:prop element:
> Request:
> <propfind xmlns="DAV:"><prop><doesnotexist/></prop></propfind>
> Response:
> <D:multistatus xmlns:xml='http://www.w3.org/XML/1998/namespace' xmlns:D='DAV:'>
>   <D:response>
>     <D:href>...</D:href>
>     <D:propstat>
>       <D:prop/>
>       <D:status>HTTP/1.1 200 OK</D:status>
>     </D:propstat>
>     <D:propstat>
>       <D:prop><D:doesnotexist/></D:prop>
>       <D:status>HTTP/1.1 404 Not Found</D:status>
>     </D:propstat>
>   </D:response>
> </D:multistatus>
>   

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (JCR-1744) PROPFIND response to a request for a property that does not exist reports an empty DAV:prop element

Posted by "Manfred Baedke (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-1744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manfred Baedke updated JCR-1744:
--------------------------------

    Attachment: patch-jcr1744.txt

fixed: org.apache.jackrabbit.webdav.MultiStatusResponse created DAV:propstat elements even for empty PropContainers.

> PROPFIND response to a request for a property that does not exist reports an empty DAV:prop element  
> -----------------------------------------------------------------------------------------------------
>
>                 Key: JCR-1744
>                 URL: https://issues.apache.org/jira/browse/JCR-1744
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-webdav
>            Reporter: Manfred Baedke
>            Priority: Minor
>         Attachments: patch-jcr1744.txt
>
>
> A PROPFIND response to a request for a property that does not exist reports an empty DAV:prop element:
> Request:
> <propfind xmlns="DAV:"><prop><doesnotexist/></prop></propfind>
> Response:
> <D:multistatus xmlns:xml='http://www.w3.org/XML/1998/namespace' xmlns:D='DAV:'>
>   <D:response>
>     <D:href>...</D:href>
>     <D:propstat>
>       <D:prop/>
>       <D:status>HTTP/1.1 200 OK</D:status>
>     </D:propstat>
>     <D:propstat>
>       <D:prop><D:doesnotexist/></D:prop>
>       <D:status>HTTP/1.1 404 Not Found</D:status>
>     </D:propstat>
>   </D:response>
> </D:multistatus>
>   

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (JCR-1744) PROPFIND response to a request for a property that does not exist reports an empty DAV:prop element

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-1744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated JCR-1744:
-------------------------------

    Fix Version/s: 1.5.0

> PROPFIND response to a request for a property that does not exist reports an empty DAV:prop element  
> -----------------------------------------------------------------------------------------------------
>
>                 Key: JCR-1744
>                 URL: https://issues.apache.org/jira/browse/JCR-1744
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-webdav
>            Reporter: Manfred Baedke
>            Priority: Minor
>             Fix For: 1.5.0
>
>         Attachments: patch-jcr1744.txt
>
>
> A PROPFIND response to a request for a property that does not exist reports an empty DAV:prop element:
> Request:
> <propfind xmlns="DAV:"><prop><doesnotexist/></prop></propfind>
> Response:
> <D:multistatus xmlns:xml='http://www.w3.org/XML/1998/namespace' xmlns:D='DAV:'>
>   <D:response>
>     <D:href>...</D:href>
>     <D:propstat>
>       <D:prop/>
>       <D:status>HTTP/1.1 200 OK</D:status>
>     </D:propstat>
>     <D:propstat>
>       <D:prop><D:doesnotexist/></D:prop>
>       <D:status>HTTP/1.1 404 Not Found</D:status>
>     </D:propstat>
>   </D:response>
> </D:multistatus>
>   

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JCR-1744) PROPFIND response to a request for a property that does not exist reports an empty DAV:prop element

Posted by "Julian Reschke (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-1744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632717#action_12632717 ] 

Julian Reschke commented on JCR-1744:
-------------------------------------

Closed with revision 697125 (thanks for the patch, Manfred!)

> PROPFIND response to a request for a property that does not exist reports an empty DAV:prop element  
> -----------------------------------------------------------------------------------------------------
>
>                 Key: JCR-1744
>                 URL: https://issues.apache.org/jira/browse/JCR-1744
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-webdav
>            Reporter: Manfred Baedke
>            Priority: Minor
>         Attachments: patch-jcr1744.txt
>
>
> A PROPFIND response to a request for a property that does not exist reports an empty DAV:prop element:
> Request:
> <propfind xmlns="DAV:"><prop><doesnotexist/></prop></propfind>
> Response:
> <D:multistatus xmlns:xml='http://www.w3.org/XML/1998/namespace' xmlns:D='DAV:'>
>   <D:response>
>     <D:href>...</D:href>
>     <D:propstat>
>       <D:prop/>
>       <D:status>HTTP/1.1 200 OK</D:status>
>     </D:propstat>
>     <D:propstat>
>       <D:prop><D:doesnotexist/></D:prop>
>       <D:status>HTTP/1.1 404 Not Found</D:status>
>     </D:propstat>
>   </D:response>
> </D:multistatus>
>   

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JCR-1744) PROPFIND response to a request for a property that does not exist reports an empty DAV:prop element

Posted by "Jan Haderka (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-1744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12646257#action_12646257 ] 

Jan Haderka commented on JCR-1744:
----------------------------------

Hi,
any chance this can be ported to 1.4 branch as well? 
Thanks.

> PROPFIND response to a request for a property that does not exist reports an empty DAV:prop element  
> -----------------------------------------------------------------------------------------------------
>
>                 Key: JCR-1744
>                 URL: https://issues.apache.org/jira/browse/JCR-1744
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-webdav
>            Reporter: Manfred Baedke
>            Priority: Minor
>             Fix For: 1.5.0
>
>         Attachments: patch-jcr1744.txt
>
>
> A PROPFIND response to a request for a property that does not exist reports an empty DAV:prop element:
> Request:
> <propfind xmlns="DAV:"><prop><doesnotexist/></prop></propfind>
> Response:
> <D:multistatus xmlns:xml='http://www.w3.org/XML/1998/namespace' xmlns:D='DAV:'>
>   <D:response>
>     <D:href>...</D:href>
>     <D:propstat>
>       <D:prop/>
>       <D:status>HTTP/1.1 200 OK</D:status>
>     </D:propstat>
>     <D:propstat>
>       <D:prop><D:doesnotexist/></D:prop>
>       <D:status>HTTP/1.1 404 Not Found</D:status>
>     </D:propstat>
>   </D:response>
> </D:multistatus>
>   

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.