Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-3910

Implement the DELETE method for the item repository

    XMLWordPrintable

    Details

    • Attachments:
      0
    • Comments:
      1
    • Documentation Status:
      Needed

      Description

      Write the contract (it must be a DELETE on the item endpoint)

      Implement the method in the item repository. Only items archived can be deleted, if the item is referenced somewhere else (workspace/worklfow or as a template) the operation should fails with a 422 error code

      It will be nice to expose the reference that prevent the delete to the client in an actionable way (can be postponed in a separate ticket)

      Write integration tests

        Attachments

          Activity

            People

            • Assignee:
              pablop Pablo Prieto
              Reporter:
              bollini Andrea Bollini (4Science)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: