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

Don't rename first blob of cached conversions when multiple blobs are cached

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.10, 10.1
    • Fix Version/s: 10.3
    • Component/s: Convert
    • Backlog priority:
      700
    • Sprint:
      nxcore 10.3.4
    • Story Points:
      2

      Description

      The first blob is renamed in the conversion service but it should not when the cached entry is a list of blobs.

      // we need to reset the filename if result came from cache because it's just a hash
      result.getBlob().setFilename(null);
      

      current behavior:

      the first time the converter returns a bloblist:

      • file1.jpeg
      • file2.jpeg

      second time the cache returns:

      • nxblob*
      • file2.jepg

      Expected behavior: cached blobs heep their original filename

      PR: https://github.com/nuxeo/nuxeo/pull/1906

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h