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

Sun Tan resolved NXP-2598.
--------------------------

    Resolution: Fixed

Client side fixed in nuxeo-live-edit 2.0.14.
passing blobPropertyName and filenamePropertyName retrived from the xml 
(docitem filenameFilePath blobFieldPath)
If these args are not in the xml file, liveedit will use the default file 
fields.

> 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.1.5, 5.2 M2
>            Reporter: Olivier Grisel
>            Assignee: Sun Tan
>            Priority: Major
>             Fix For: 5.1.6, 5.2 M3
>
>   Original Estimate: 4 hours
>  Remaining Estimate: 4 hours
>
> 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
ECM-tickets@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to