Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-7728

Operation to create a Picture

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4.2
    • Fix Version/s: 5.5
    • Component/s: Automation

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              tdelprat Thierry Delprat
              Reporter:
              tdelprat Thierry Delprat
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: