Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-2909

Set container title when defining the Folder type from Document Type Selection using Direct Transfer

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4.0
    • Fix Version/s: None
    • Component/s: Direct Transfer
    • Tags:
    • Backlog priority:
      550
    • Sprint:
      nxdrive #66
    • Story Points:
      5

      Description

      Pre-requisites:

      • enable "Document Type Selection" in Drive settings and restart Drive

      Steps to reproduce:

      1. Click on the "Upload Content" button in the Drive context menu
      2. The "Direct Transfer" window is displayed
      3. Push the "New transfer" button
      4. in the new popup, push the "Add a folder" button and select a folder with some files
      5. Select a remote folder
      6. in the Advanced box, select "Folder" for "Folder Type"
      7. Validate with the OK button
      8. Navigate to the remote folder in Nuxeo WebUI, then to the newly created folder
      9. Click on the Edit button
      10. Observe that the "Title" field is empty. The same observation can be done from the JSON export

      *Expected behavior: *the title (dc:title field) is set on the newly created folder

      Note that this bug does not occur with the Automation selection because it uses a different method to create the folder (operation FileManager.CreateFolder)

      *Analysis of the issue: *it probably comes from the fact that "dc:title" is not set in the payload sent to the REST API endpoint (POST call) which creates the folder. The document name should be used as title

        Attachments

        There are no Sub-Tasks for this issue.

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: