Problem
When any of the sublists returned by SplitListIntoSubLists are empty, then the filter set on Tenant Media and Tenant Media Set is empty, causing all media to be deleted.
Solution
Only delete Tenant Media and Tenant Media Set when a filter is set on the record.
Summary
Problem When any of the sublists returned by
SplitListIntoSubLists
are empty, then the filter set onTenant Media
andTenant Media Set
is empty, causing all media to be deleted.Solution Only delete
Tenant Media
andTenant Media Set
when a filter is set on the record.Work Item(s)
Fixes AB#550956