Uploaded image for project: 'Islandora'
  1. Islandora
  2. ISLANDORA-1956

aggregate_ocr flag not creating OCR datastream

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 7.x-1.9
    • Fix Version/s: None
    • Component/s: Newspaper Batch
    • Labels:
      None

      Description

      Running "drush help islandora_newspaper_batch_preprocess" displays the functions parameters. One of them is "--aggregate_ocr" with this definition: "A flag to cause OCR to be aggregated to issues, if OCR is also being generated per-page."

      But running a newspaper batch preprocess Drush command with "--aggregate_ocr" is not producing an OCR datastream in the issue object even when the page-level objects that command creates all have OCR datastreams.

      This is not a problem doing a newspaper batch ingest using the islandora GUI. It's only the command line Drush command does not aggregate OCR properly.

      Here is the Drush command I'm using (on the Vagrant 7.x-1-9 RC1) that does not create an OCR datastream on the issue object.

      drush -v --user=admin --uri=http://localhost islandora_newspaper_batch_preprocess --type=zip --target=/home/vagrant/zips/0001.zip --namespace=newday --aggregate_ocr --parent=islandora:1

        Attachments

          Activity

            People

            • Assignee:
              dpinokrayon Diego Pino Navarro
              Reporter:
              pmacdona@hamilton.edu Peter MacDonald
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: