Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-2499

Import fails for binaries with text/turtle media type

    Details

      Description

      Import fails with a nondescript error:
      INFO 12:57:00.426 (Importer) Imported binary: http://localhost:8080/fcrepo/rest/apix/extensions/image
      ERROR 12:57:00.433 (ImportExportDriver) Error performing import/export: Index: 0, Size: 0

      http://localhost:8080/fcrepo/rest/apix/extensions/image is a binary of type text/turtle, and is in the export directory as "export/fcrepo/rest/apix/extensions/image.binary". A tar of the export is attached

      Exported with:
      java -jar target/fcrepo-import-export-0.1.1-SNAPSHOT.jar --mode export --resource http://localhost:8080/fcrepo/rest --dir export --binaries

      Imported into an empty repo with:
      java -jar target/fcrepo-import-export-0.1.1-SNAPSHOT.jar --mode import --resource http://localhost:8080/fcrepo/rest --dir export --binaries

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                esc Esmé Cowles
                Reporter:
                birkland Aaron Birkland
                Reviewer:
                Andrew Woods
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: