Skip to content

Tracking changes to delete method (purge and permanently delete vs "Status Deleted") #91

@wrandtkeflvc

Description

@wrandtkeflvc

Update 3/11: Please see case notes. May need to be a project.

Original Case Description:

In testing a new Islandora deletion method (delete status instead of permanent deletion) a problem with orphaned child issues was discovered. See https://docs.google.com/document/d/1UsdaEcqeqKoweQa1BAOfZSTbMZ5vMZUpmBel7yYppOs/edit?usp=sharing for the full testing results.

Please see case notes for full original email with formatting.

From: Lydia Motyka
Sent: Thursday, September 6, 2018 14:40
To: FLVC Help Desk help@flvc.org
Subject: Islandora deleted status: orphaned serials children when parent is marked as deleted

This is for the Student and General Applications queue, Islandora category. Gail Lewis is familiar with this problem

In testing a new Islandora deletion method (delete status instead of permanent deletion) a problem with orphaned child issues was discovered. See https://docs.google.com/document/d/1UsdaEcqeqKoweQa1BAOfZSTbMZ5vMZUpmBel7yYppOs/edit?usp=sharing for the full testing results.

This problem (highlighted) can be recreated by following the testing actions:

Serials test

• Results of deletion of parent: will this create orphans? I don’t think it’s possible to re-link issues or hierarchy to a new title, so by rights the children should be deleted. Keep list of child object PIDs.
• PIDs of test serial:
• Spanish River Papers (serial title) dev:1706
o Volume 1(stub) dev:1707
 Number 1 (stub) dev:1712
• PDF islandora:225
 Number 2 (stub) dev:1713
• PDF islandora:226
 Number 3 (stub) dev:1714
o Volume 2 (stub) dev:1708
 Number 1 (stub) dev:1715
• PDF islandora:227
 Number 2 (stub) dev:1716
• PDF islandora:228

Test #1: Delete top-level stub and examine results
• Volume 2 (stub) dev:1708 - Properties -> Permanently remove…->Delete
• Results:
o Volume 2 stub and children no longer appear in tree
o Number 1 (stub) dev:1715 has status “active” (I believe that we knew this would happen.) Gail’s history info: we noticed that regular deletes aren’t recursively applied to children. Known issue that we would have to address ourselves, perhaps with a button “Do you want to delete children as well?” Not a show-stopper.
o PDF islandora:227 (child) has status “active”, and accessing it directly by PID displays breadcrumbs “Islandora Repository >> …”, so you can’t get to any of the parent stubs or title via breadcrumbs, but clicking on “view all issues” will return you to the tree. (This is because the child is orphaned. Search is not aware of orphans: if it’s active it’s indexed. Updating orphaned child will cause site info to be lost - if parent is deleted. Known, ongoing problem.)
o Searching “Spanish River Papers” retrieves the PDF in search results. (because it’s indexed, see above)
• Returning dev:1708 (Volume 2 stub) status to “active” via Properties->State->Active
• Results:
o Volume 2 stub and children appear in tree
o Breadcrumbs return to normal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions