Details

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

      Description

      Import failed with errors like " Error while importing .../fcrepo/rest/fd/e3/a3/e1/fde3a3e1-c6cd-46af-a859-254627e6258a.ttl (400): RDF Stream contains subject(s) (http://localhost:8080/fcrepo/rest/fd/e3/a3/e1/fde3a3e1-c6cd-46af-a859-254627e6258a) not in the domain of this repository".

      components and steps to replicate:
      Dataset: plan patent (https://github.com/fcrepo4-labs/fcrepo-sample-dataset/tree/master/plantpatents)
      Import/Export version: fcrepo-import-export-0.1.1-SNAPSHOT (master @d2c9a17)
      Fedora version: fcrepo-webapp-4.8.0-SNAPSHOT-jetty-console-a07a1a46.jar

      - Restore the plan patent dataset into http://localhost:8080/fcrepo/rest:
      $ curl -i -X POST --data-binary "1473315261896-0" "http://localhost:8080/fcrepo/rest/fcr:restore"
      - Export:
      $ java -jar bin/fcrepo-import-export-0.1.1-SNAPSHOT.jar -m export -b -d data -r http://localhost:8080/fcrepo/rest
      - Import:
      $ java -jar bin/fcrepo-import-export-0.1.1-SNAPSHOT.jar -m import -b -d data -r http://localhost:8686/fcrepo/rest

      Error:
      INFO 16:14:31.088 (Importer) Importing container .../data/fcrepo/rest/fd/e3/a3/e1/fde3a3e1-c6cd-46af-a859-254627e6258a.ttl to http://localhost:8686/fcrepo/rest/fd/e3/a3/e1/fde3a3e1-c6cd-46af-a859-254627e6258a
      ERROR 16:14:31.095 (Importer) Error while importing .../data/fcrepo/rest/fd/e3/a3/e1/fde3a3e1-c6cd-46af-a859-254627e6258a.ttl (400): RDF Stream contains subject(s) (http://localhost:8080/fcrepo/rest/fd/e3/a3/e1/fde3a3e1-c6cd-46af-a859-254627e6258a) not in the domain of this repository.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lsitu Longshou Situ
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: