Profile deletion attempts first call check_admin_set, which returns true if the Profile is affiliated to any admin sets that contain any works. This results in a condition where a newly-created, but entirely-unused profile, refuses deletion claiming that it is in use, even if no works have been created with the profile or updated to use it.
Suggest softening the condition as done in IU-Libraries-Joint-Development/essi@0929763
Profile deletion attempts first call
check_admin_set, which returns true if the Profile is affiliated to any admin sets that contain any works. This results in a condition where a newly-created, but entirely-unused profile, refuses deletion claiming that it is in use, even if no works have been created with the profile or updated to use it.Suggest softening the condition as done in IU-Libraries-Joint-Development/essi@0929763