Issue 45662: LKSM/LKB: Deleting sources/registry items that have descendents shouldn't be allowed

issues
Status:closed
Assigned To:Guest
Type:Defect
Area:Sample Manager
Priority:2
Milestone:22.07
Opened:2022-06-10 12:26 by hannahb
Changed:2022-06-15 14:48 by hannahb
Resolved:2022-06-14 15:35 by Susan Hert
Resolution:Fixed
Support Ticket: 
Pull Requests:sampleManagement#992
Closed:2022-06-15 14:48 by hannahb
2022-06-10 12:26 hannahb
Title»LKSM/LKB: Deleting sources/registry items that have descendents shouldn't be allowed
Assigned To»Susan Hert
Notify»hannahb;Bernie;Nick Kerr
Type»Defect
Area»Sample Manager
Priority»2
Milestone»22.07
Possibly a regression?

In LKSM, if I have created a Source (eg. Mouse-1) with samples derived from that Mouse, I shouldn't be able to delete Mouse-1.

In the app, I can't delete Mouse-1 from the Source Details Overview Page (hamburger menu>> delete) and am providing with messaging on why.

However, if I go to the Source grid view, I can select Mouse-1 and "delete". Expected behavior is that I shouldn't be able to delete Mouse-1.

I suspect we also want this behavior for LKB and all registry items with lineage descendants, but adding Bernie and Nick in case they disagree.

2022-06-13 15:53 Susan Hert
TitleLKSM/LKB: Deleting sources/registry items that have descendents shouldn't be allowed»**LKSM/LKB: Deleting sources/registry items that have descendents shouldn't be allowed

2022-06-14 09:11 Susan Hert
Pull Requests»https://github.com/LabKey/sampleManagement/pull/992

2022-06-14 15:35 Susan Hert
resolve as Fixed
Title**LKSM/LKB: Deleting sources/registry items that have descendents shouldn't be allowed»LKSM/LKB: Deleting sources/registry items that have descendents shouldn't be allowed
Statusopen»resolved
Assigned ToSusan Hert»hannahb
This was indeed a regression. Fixed merged to develop.

2022-06-15 14:48 hannahb
close
Statusresolved»closed
Assigned Tohannahb»Guest
Verified