make liveedit client able to edit blobs that are not hosted in the default 
file:content property
------------------------------------------------------------------------------------------------

                 Key: NXP-2598
                 URL: http://jira.nuxeo.org/browse/NXP-2598
             Project: Nuxeo Enterprise Platform
          Issue Type: Bug
          Components: Desktop Integration
    Affects Versions: 5.2 M2, 5.1.5
            Reporter: Olivier Grisel
            Assignee: Sun Tan
            Priority: Major
             Fix For: 5.1.6, 5.2 M3


The liveedit server side infrastructure is designed to be able to live edit / 
create document that have blobs stored in arbitrary fields such as 
myschema:myblobfield with file name in myschema:myfilenamefield instead of the 
default file:content and file:filename properties.

However it seems that the current live edit client implementation for MS Office 
(2.0.12) does not provide the custom field names as request parameters for the 
DownloadFileRestlet and probably the UploadFileRestlet too.

According the to the restlets implementations the URL for the former restlet 
should be:

GET 
/nuxeo/restAPI/{repoId}/{docId}/downloadFile?blobPropertyName=myschema:myblobfield&filenamePropertyName=myschema:myfilenamefield

The names of the request parameters used by live edit powering restlets are 
defined in the org.nuxeo.ecm.platform.ui.web.tag.fn.LiveEditConstants 
interface. The documentation in restAPI-contrib.xml deserves a fix too.

-- 
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