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

PDF.ExtractText fails when no search pattern is provided

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.10, 11.1-SNAPSHOT
    • Fix Version/s: 10.10-HF19, 11.1, 2021.0
    • Component/s: Automation

      Description

      The PDF.ExtractText operation states: 

      > Extracts raw text from a PDF. If the PDF is encrypted, a password is required.

      It accepts misc. parameters, on is patterntofind. This allows for extracting either a single line or part of a line.

      The problem is that when you want the full text, you don't pass this parameter and the operation fails with a null pointer.

      => The opération should return the whole text when the patterntofind parameter is not provided (either null or "")

      Major because impacting an important prospect we are currently working with.

        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 days
                2d