You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Amélie Avramo (JIRA)" <ji...@apache.org> on 2009/11/10 10:36:29 UTC

[jira] Created: (CMIS-58) Children request with parameters throws a 404 error

Children request with parameters throws a 404 error
---------------------------------------------------

                 Key: CMIS-58
                 URL: https://issues.apache.org/jira/browse/CMIS-58
             Project: Chemistry
          Issue Type: Bug
          Components: server
            Reporter: Amélie Avramo


Executing that kind of request : http://localhost:8080/cmis/children/{id}?maxItems=4 throws an http 404 error.

It seems that it comes from the target resolver settings in CMISProvider.java. 

Also, the request parameters aren't taken in account.


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


[jira] Updated: (CMIS-58) Children request with parameters throws a 404 error

Posted by "Amélie Avramo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amélie Avramo updated CMIS-58:
------------------------------

    Status: Patch Available  (was: Open)

> Children request with parameters throws a 404 error
> ---------------------------------------------------
>
>                 Key: CMIS-58
>                 URL: https://issues.apache.org/jira/browse/CMIS-58
>             Project: Chemistry
>          Issue Type: Bug
>          Components: server
>            Reporter: Amélie Avramo
>         Attachments: patch-CMIS-58.zip
>
>
> Executing that kind of request : http://localhost:8080/cmis/children/{id}?maxItems=4 throws an http 404 error.
> It seems that it comes from the target resolver settings in CMISProvider.java. 
> Also, the request parameters aren't taken in account.

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


[jira] Updated: (CMIS-58) Children request with parameters throws a 404 error

Posted by "Amélie Avramo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amélie Avramo updated CMIS-58:
------------------------------

    Attachment:     (was: patch-CMIS-58.zip)

> Children request with parameters throws a 404 error
> ---------------------------------------------------
>
>                 Key: CMIS-58
>                 URL: https://issues.apache.org/jira/browse/CMIS-58
>             Project: Chemistry
>          Issue Type: Bug
>          Components: server
>            Reporter: Amélie Avramo
>
> Executing that kind of request : http://localhost:8080/cmis/children/{id}?maxItems=4 throws an http 404 error.
> It seems that it comes from the target resolver settings in CMISProvider.java. 
> Also, the request parameters aren't taken in account.

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


[jira] Updated: (CMIS-58) Children request with parameters throws a 404 error

Posted by "Amélie Avramo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amélie Avramo updated CMIS-58:
------------------------------

    Attachment: patch-CMIS-58.zip

CMISProvider.java : Target resolver for children fixed to process request for children with parameters
CMISChildrenCollection.java : Request parameters taken in account in the getEntries method

> Children request with parameters throws a 404 error
> ---------------------------------------------------
>
>                 Key: CMIS-58
>                 URL: https://issues.apache.org/jira/browse/CMIS-58
>             Project: Chemistry
>          Issue Type: Bug
>          Components: server
>            Reporter: Amélie Avramo
>         Attachments: patch-CMIS-58.zip
>
>
> Executing that kind of request : http://localhost:8080/cmis/children/{id}?maxItems=4 throws an http 404 error.
> It seems that it comes from the target resolver settings in CMISProvider.java. 
> Also, the request parameters aren't taken in account.

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


[jira] Reopened: (CMIS-58) Children request with parameters throws a 404 error

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

Florent Guillaume reopened CMIS-58:
-----------------------------------


> Children request with parameters throws a 404 error
> ---------------------------------------------------
>
>                 Key: CMIS-58
>                 URL: https://issues.apache.org/jira/browse/CMIS-58
>             Project: Chemistry
>          Issue Type: Bug
>          Components: server
>            Reporter: Amélie Avramo
>            Assignee: Florent Guillaume
>         Attachments: patch-CMIS-58-61.zip, patch-CMISProvider
>
>
> Executing that kind of request : http://localhost:8080/cmis/children/{id}?maxItems=4 throws an http 404 error.
> It seems that it comes from the target resolver settings in CMISProvider.java. 
> Also, the request parameters aren't taken in account.

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


[jira] Commented: (CMIS-58) Children request with parameters throws a 404 error

Posted by "Amélie Avramo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CMIS-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777024#action_12777024 ] 

Amélie Avramo commented on CMIS-58:
-----------------------------------

The same issue occurs whith these kinds of requests : 

http://localhost:8080/cmis/checkedout?folderId={id} 
http://localhost:8080/cmis/descendants/{id}?depth=-1

> Children request with parameters throws a 404 error
> ---------------------------------------------------
>
>                 Key: CMIS-58
>                 URL: https://issues.apache.org/jira/browse/CMIS-58
>             Project: Chemistry
>          Issue Type: Bug
>          Components: server
>            Reporter: Amélie Avramo
>         Attachments: patch-CMIS-58.zip
>
>
> Executing that kind of request : http://localhost:8080/cmis/children/{id}?maxItems=4 throws an http 404 error.
> It seems that it comes from the target resolver settings in CMISProvider.java. 
> Also, the request parameters aren't taken in account.

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


[jira] Updated: (CMIS-58) Children request with parameters throws a 404 error

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

Florent Guillaume updated CMIS-58:
----------------------------------

    Resolution: Fixed
      Assignee: Florent Guillaume
        Status: Resolved  (was: Patch Available)

Committed modified patch.
r880876


> Children request with parameters throws a 404 error
> ---------------------------------------------------
>
>                 Key: CMIS-58
>                 URL: https://issues.apache.org/jira/browse/CMIS-58
>             Project: Chemistry
>          Issue Type: Bug
>          Components: server
>            Reporter: Amélie Avramo
>            Assignee: Florent Guillaume
>         Attachments: patch-CMIS-58-61.zip
>
>
> Executing that kind of request : http://localhost:8080/cmis/children/{id}?maxItems=4 throws an http 404 error.
> It seems that it comes from the target resolver settings in CMISProvider.java. 
> Also, the request parameters aren't taken in account.

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


[jira] Updated: (CMIS-58) Children request with parameters throws a 404 error

Posted by "Amélie Avramo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amélie Avramo updated CMIS-58:
------------------------------

    Attachment: patch-CMIS-58-61.zip

Patch update to fix issues relatives to descendant and checkedout requests, including the CMIS-61 issue.

> Children request with parameters throws a 404 error
> ---------------------------------------------------
>
>                 Key: CMIS-58
>                 URL: https://issues.apache.org/jira/browse/CMIS-58
>             Project: Chemistry
>          Issue Type: Bug
>          Components: server
>            Reporter: Amélie Avramo
>         Attachments: patch-CMIS-58-61.zip
>
>
> Executing that kind of request : http://localhost:8080/cmis/children/{id}?maxItems=4 throws an http 404 error.
> It seems that it comes from the target resolver settings in CMISProvider.java. 
> Also, the request parameters aren't taken in account.

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


[jira] Resolved: (CMIS-58) Children request with parameters throws a 404 error

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

Florent Guillaume resolved CMIS-58.
-----------------------------------

    Resolution: Fixed

Committed with small changes.
r881354

Thanks for the unit test, that's the only way to be sure that code works.


> Children request with parameters throws a 404 error
> ---------------------------------------------------
>
>                 Key: CMIS-58
>                 URL: https://issues.apache.org/jira/browse/CMIS-58
>             Project: Chemistry
>          Issue Type: Bug
>          Components: server
>            Reporter: Amélie Avramo
>            Assignee: Florent Guillaume
>         Attachments: patch-CMIS-58-61.zip, patch-CMISProvider
>
>
> Executing that kind of request : http://localhost:8080/cmis/children/{id}?maxItems=4 throws an http 404 error.
> It seems that it comes from the target resolver settings in CMISProvider.java. 
> Also, the request parameters aren't taken in account.

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


[jira] Updated: (CMIS-58) Children request with parameters throws a 404 error

Posted by "Amélie Avramo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amélie Avramo updated CMIS-58:
------------------------------

    Attachment: patch-CMISProvider

My latest patch was missing CMISProvider.java fix  for the http 404 error.

> Children request with parameters throws a 404 error
> ---------------------------------------------------
>
>                 Key: CMIS-58
>                 URL: https://issues.apache.org/jira/browse/CMIS-58
>             Project: Chemistry
>          Issue Type: Bug
>          Components: server
>            Reporter: Amélie Avramo
>            Assignee: Florent Guillaume
>         Attachments: patch-CMIS-58-61.zip, patch-CMISProvider
>
>
> Executing that kind of request : http://localhost:8080/cmis/children/{id}?maxItems=4 throws an http 404 error.
> It seems that it comes from the target resolver settings in CMISProvider.java. 
> Also, the request parameters aren't taken in account.

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


[jira] Commented: (CMIS-58) Children request with parameters throws a 404 error

Posted by "Florent Guillaume (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CMIS-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777046#action_12777046 ] 

Florent Guillaume commented on CMIS-58:
---------------------------------------

Thanks, I'll be checking this ASAP.

> Children request with parameters throws a 404 error
> ---------------------------------------------------
>
>                 Key: CMIS-58
>                 URL: https://issues.apache.org/jira/browse/CMIS-58
>             Project: Chemistry
>          Issue Type: Bug
>          Components: server
>            Reporter: Amélie Avramo
>         Attachments: patch-CMIS-58-61.zip
>
>
> Executing that kind of request : http://localhost:8080/cmis/children/{id}?maxItems=4 throws an http 404 error.
> It seems that it comes from the target resolver settings in CMISProvider.java. 
> Also, the request parameters aren't taken in account.

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