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

Triples about non-repository subject URIs are silently ignored

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Fedora 4.1.0
    • Fix Version/s: Fedora 4.1.1
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Sprint 2015 - 3

      Description

      If a SPARQL update tries to insert triples about non-repository URIs, those triples are silently ignored. E.g.:

      PID=$RANDOM
      curl -X PUT http://localhost:8080/fcrepo4/rest/$PID && echo
      echo "insert data

      { <http://example.org/foo> <http://example.org/bar> \"baz\" . }

      " | \
      curl D -s -X PATCH --upload-file - http://localhost:8080/fcrepo4/rest/$PID

      Does not add the triple to the repository, and returns 204 No Content response indicating successful completion of the PATCH operation. Should it return an error instead?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                whikloj Jared Whiklo
                Reporter:
                escowles@ucsd.edu Esme Cowles [X] (Inactive)
                Reviewer:
                Andrew Woods
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: