Uploaded image for project: 'Apps Development Framework'
  1. Apps Development Framework
  2. ADF-1737

getFileContent response returns empty object when it's a PDF file

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Unprioritized
    • Resolution: Resolved
    • Affects Version/s: 1.9.0
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:

      Description

      https://github.com/Alfresco/alfresco-js-api/issues/271

      Current behavior:

      Response from getFileContent of a PDF always retruns empty object.

      Expected behavior:

      Response from getFileContent returning Buffer (as it happens with JPG files).

      Steps to reproduce the issue:

      Upload a PDF file;

      Call getFileContent from a NodeJS server;
      The response will be an empty object instead of a Buffer.
      Node version (for build issues):
      v8.4.0

        TestRail: Results

          Attachments

            Structure

              Activity

                People

                • Assignee:
                  dvuika Denys Vuika
                  Reporter:
                  dvuika Denys Vuika
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    TestRail: Cases

                      Structure Helper Panel