Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: Fedora 4.4.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Roadmap Theme:
      Interface: REST/HTTP

      Description

      Something has changed in Fedora 4.4 with regard to the way it handles updates to fcr:metadata. The following sequence works in 4.3 but not 4.4:

      1) Create a binary

          curl -X POST -H "Content-Type: text/plain" -H "Slug: new-binary" "http://localhost:8080/fedora/rest/"

      2) GET its fcr:metadata

          curl -H "Accept: text/turtle" "http://localhost:8080/fedora/rest/new-binary/fcr:metadata" > new-binary.rdf

      3) Add some triples

          <> <http://example.org/bytestreamShape> <http://example.org/Bytestream/Shape/Original&gt;;
             <http://example.org/bytestreamType> <http://example.org/Bytestream/Type/Master&gt;;
             <http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#hasMimeType> "audio/aiff";
             rdfs:Class <http://pcdm.org/models#File> .

      4) PUT it back

          curl -X PUT -H "Content-Type: text/turtle" --data-binary "@new-binary.rdf" "http://localhost:8080/fedora/rest/new-binary/fcr:metadata"

      The added triples are present in 4.3 but missing in 4.4.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                alexd Alex Dolski
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: