Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: f4-import-export
    • Labels:
      None

      Description

      Setup:
      - Download dataset: https://github.com/fcrepo4-labs/fcrepo-sample-dataset/blob/master/plantpatents/plants.tar.gz
      - Start up an empty F4
      - Upload the sample dataset:
      > curl -i -XPOST --data-binary /path/to/1473315261896-0 localhost:8080/rest/fcr:restore
      - Export the repository:
      > java -jar fcrepo-import-export-driver-0.0.1-SNAPSHOT.jar -b /tmp/bin -m export -d /tmp/rdf -r http://localhost:8080/rest/

      ! Notice output log for each external-body binary:
      ---
      ERROR 16:10:46.097 (Exporter) Resource is neither an LDP Container nor an LDP NonRDFSource: http://localhost:8080/rest/10/69/e9/cd/1069e9cd-3024-442a-a683-4f8930be992d/external
      ---

      However, the HEAD request shows correct link headers:
      ---
      > curl -I http://localhost:8080/rest/10/69/e9/cd/1069e9cd-3024-442a-a683-4f8930be992d/external
      ---
      Output:
      ---
      HTTP/1.1 307 Temporary Redirect
      Date: Thu, 08 Sep 2016 20:15:16 GMT
      ETag: "f074729b6e3608542c34bbb5443e10d0e741ecf5"
      Last-Modified: Thu, 08 Sep 2016 06:05:42 GMT
      Content-Type: message/external-body;access-type=URL;url="http://www.lib.umd.edu/plantpatents/binaries/09000/pp09075.pdf"
      Accept-Ranges: bytes
      Content-Disposition: attachment; filename=""; creation-date="Thu, 08 Sep 2016 06:05:42 GMT"; modification-date="Thu, 08 Sep 2016 06:05:42 GMT"; size=0
      Link: <http://www.w3.org/ns/ldp#Resource&gt;;rel="type"
      Link: <http://www.w3.org/ns/ldp#NonRDFSource&gt;;rel="type"
      Link: <http://localhost:8080/rest/10/69/e9/cd/1069e9cd-3024-442a-a683-4f8930be992d/external/fcr:metadata&gt;; rel="describedby"
      Allow: DELETE,HEAD,GET,PUT,OPTIONS
      Location: http://www.lib.umd.edu/plantpatents/binaries/09000/pp09075.pdf
      Content-Length: 0
      ---

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                esc Esmé Cowles
                Reporter:
                awoods Andrew Woods
                Reviewer:
                Andrew Woods
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: