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

Cannot add rdf:type properties to binaries

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Fedora 5.0.0
    • Fix Version/s: Fedora 5.0.1
    • Component/s: None
    • Labels:
      None

      Description

      I am unable to add rdf:type properties to binary descriptions. When doing so, fcrepo returns a 204 but no new property appears when making a GET to the description.

      You can see this behavior in the following failing integration test:

      https://github.com/fcrepo4/fcrepo4/compare/5.0.0-RC...bbpennel:add-type-to-binary

      As well as from the UI by bringing up the fcrepo 5 web console, creating a binary, then pasting the following into the update properties box:

      INSERT {
       <> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://pcdm.org/models#File> .
      }
      WHERE {}
      

      It returns with no error, but the property does not appear.

      Meanwhile the following update works and the new relationship appears:

      INSERT {
       <> <http://example.com/link> <http://example.com/goodstuff> .
      }
      WHERE {}
      

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ben.pennell Ben Pennell
              Reporter:
              ben.pennell Ben Pennell
              Reviewer:
              Andrew Woods
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: