[
https://jira.nuxeo.com/browse/NXP-7728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thierry Delprat updated NXP-7728:
---------------------------------
Status: Open (was: Triage)
> Operation to create a Picture
> -----------------------------
>
> Key: NXP-7728
> URL: https://jira.nuxeo.com/browse/NXP-7728
> Project: Nuxeo Enterprise Platform
> Issue Type: Task
> Components: Automation
> Affects Versions: 5.4.2
> Reporter: Thierry Delprat
> Assignee: Thierry Delprat
> Fix For: 5.4.3
>
>
> Currently the Picture type Document can not bea easily created : you have to
> use the Adapter to trigger to conversions and init the multi-view structure.
> Because of that, we can not directy use Document.Create operation.
> A solution could be to use the FileManager.Import operation, but in the
> context of the Android Client this solution is not good :
> - I want to be able to edit more than just the blob
> - I want to keep the same logic for Blob upload than for any other DocTypes
> and Forms
> So, until we fix for real the Picture mess, I have to create a new operation
> that will basically mix Document.Create with the PictureResourceAdapter.
> An other side effect of the adapter usage is that the Picture doc type does
> not have a real layout :
> => I will use the File Schema and translate the file:content field to be use
> as an input for the adapter ...
> Not very nice, but this will work until we fix the infrastructure.
--
This message is automatically generated by JIRA.
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