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

Fix batch upload id management

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.8.0-HF34, 6.0-HF15, 7.3
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Rest API

      Description

      Happens when:

      • Trying to attach 10 or more files to a document using the REST API.
      • Using numerical ids starting from 1 for file ids (e.g. 1,2, 3 ... 10).

      => Content end up being mixed: the file name does not correspond to the actual stored blob when the batch upload is attached to the document.

      Reason is ids are not read in the proper order, but that way:

      • 0
      • 1
      • 10
      • 2
      • 3
      • 4
      • ...
      • 9

      Prefixing file ids by a 0 does not help. Workaround is to use larger numbers (ex, start from 1000, not 1).

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: