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

Text download (green arrow) on Note documents truncates content with accentuated chars

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.0-HF17, 5.6
    • Fix Version/s: 5.5.0-HF18, 5.6.0-HF10, 5.7.1
    • Component/s: Core

      Description

      Reason:

      • The Note download button uses the nxbigfile servlet on the BlobHolder
      • The BlobHolder adapts the String content of the note as a StringBlob instance
      • StringBlob#getLength returns size of chars instead of size in bytes

      Fix:

      StringBlob#getLength should return size in bytes (depends on encoding) as stated in the Blob#getLength javadoc.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 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