Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: Fedora 4.5.0
    • Fix Version/s: Fedora 4.5.1
    • Component/s: f4-core
    • Labels:
    • Roadmap Theme:
      Services: CRUD
    • Sprint:
      Sprint 2015 - 14

      Description

      Hash URIs are not properly cleaned up. For example:

      INSERT {
        <> dc:creator <#creator>.
        <#creator> a foaf:Person ; foaf:name "me" .
      } WHERE { }

      Now delete the properties of the hash URI (but not the <> dc:creator <#creator> triple):

      DELETE WHERE { <#creator> ?p ?o . }

      Now I get a 404 for the container even though it is still listed in the parent container. (I can delete the container with CURL, but the HTML UI is useless).

      The issue has to do with the removeEmptyFragments function in FedoraResourceImpl and the way it deletes the "#" node if it doesn't contain any properties. But doing so results in a jcr.ItemNotFoundException because of the existence of the `<> dc:creator <#creator>` triple (and possibly other references).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                acoburn Aaron Coburn
                Reporter:
                acoburn Aaron Coburn
                Reviewer:
                Andrew Woods
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: