Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Fedora 4.7.4
    • Component/s: f4-core
    • Labels:
    • Sprint:
      Sprint 2016 - 18

      Description

      This bug can be seen when executing a sparql-update request that attempts to delete a property several times.
      The request hangs until an OOM exception is thrown.
      The solution to this issue should be to return a 400 Bad Request.

      To demonstrate the error:
      # Create a resource, "test".
      > curl -i -XPUT localhost:8080/rest/test
      # Add properties to the new resource
      > curl -i -XPATCH -H"Content-Type: application/sparql-update" --data-binary @rdf_insert.txt localhost:8080/rest/test
      # Attempt to delete resources
      > curl -i -XPATCH -H"Content-Type: application/sparql-update" --data-binary @rdf_delete_duplicates.txt localhost:8080/rest/test
      ** Notice request hangs

      See attached "rdf_insert.txt" and "rdf_delete_one_multiple_one_non_existing.txt"

        Attachments

        1. delete-where5.txt
          2 kB
          Benjamin Armintor
        2. rdf_delete_duplicates.txt
          2 kB
          Andrew Woods
        3. rdf_insert.txt
          3 kB
          Andrew Woods

          Activity

            People

            • Assignee:
              barmintor Benjamin Armintor
              Reporter:
              czv8 Steve Gu
              Reviewer:
              Andrew Woods
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: