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

REST endpoint purgeRelationship does not indicate if the relationship was purged

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Fedora 3.4
    • Fix Version/s: None
    • Component/s: legacy - Fedora
    • Labels:
      None
    • Roadmap Theme:
      Interface: REST/HTTP

      Description

      The current implementation of the purgeRelationship REST endpoint does not indicate if a relation was actually purged. It returns "204 no content" in all cases. It should however return whether the operation succeeded or not (as supported by the respective APIM method).

        Attachments

          Activity

          Hide
          eddie Edwin Shin added a comment -

          fixed in r8715 (now returns a 200 status code w/ response body of "true" or "false" depending on whether or not the purge succeeded).

          Show
          eddie Edwin Shin added a comment - fixed in r8715 (now returns a 200 status code w/ response body of "true" or "false" depending on whether or not the purge succeeded).

            People

            • Assignee:
              eddie Edwin Shin
              Reporter:
              kstrnad Kai St [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: