[ 
http://jira.nuxeo.org/browse/NXP-3326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benoit Delbosc reopened NXP-3326:
---------------------------------


Some restlet are not yet updated, CreateDocumentRestlet was working before 
http://hg.nuxeo.org/nuxeo/nuxeo-platform/rev/ffad71a3823f

to reproduce ex (replace with a valid uuid)

http://localhost:8080/nuxeo/restAPI/default/7b08bee6-c4ea-419f-a00b-0adf5a62c33f/createDocument?docType=Workspace&dublincore%3Atitle=FLNXTEST+Rest+workspace&dublincore%3Adescription=Test+workspace+description

return a 
     java.lang.NullPointerException
        at 
org.nuxeo.ecm.platform.ui.web.restAPI.CreateDocumentRestlet.handle(CreateDocumentRestlet.java:72)
        at org.restlet.Filter.doHandle(Filter.java:105)
        at org.restlet.Filter.handle(Filter.java:134)
...

This makes hudson Server_Test_5.2_-_Rest_Web failed.

I can see that other restlet use the old style like DownloadFileRestlet or 
uploadFileRestlet, 
we should either fix or remove them.



> Cleanup default restlets
> ------------------------
>
>                 Key: NXP-3326
>                 URL: http://jira.nuxeo.org/browse/NXP-3326
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Sub-task
>    Affects Versions: 5.2 RC
>            Reporter: Thierry Delprat
>            Assignee: Thierry Delprat
>             Fix For: 5.2 GA
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to