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

Delete item doesn't work well in JSPUI

    Details

    • Attachments:
      0
    • Comments:
      2
    • Documentation Status:
      Not Required

      Description

      When try to delete(expunge) item from the Edit Item page the logic behind the scene remove the element from the collection before check the size of the parents, all seems works well but the item with one parent collection still exist (only the relation collection to item is removed).

      See https://github.com/DSpace/DSpace/blob/master/dspace-jspui/src/main/java/org/dspace/app/webui/servlet/admin/EditItemServlet.java#L236

      The fix to do here is remove the logic to iterate all parents Collection of the Item and call directly the ItemService to delete in one operation the Item.

        Attachments

          Activity

            People

            • Assignee:
              l_a_p Luigi Andrea Pascarelli
              Reporter:
              l_a_p Luigi Andrea Pascarelli
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: