diff --git a/src/app/resource/controllers/ResourceListController.php b/src/app/resource/controllers/ResourceListController.php index 5e4b2979b87c3e92d831952d8650b825820d955e..cfa7cf800291a1dac87f7a42301c92458967a993 100644 --- a/src/app/resource/controllers/ResourceListController.php +++ b/src/app/resource/controllers/ResourceListController.php @@ -448,6 +448,7 @@ class ResourceListController $methodResponses['errors'] = []; } $methodResponses['errors'] = array_merge($methodResponses['errors'], [$requiredFieldsValid['errors']]); + unset($resourcesForAction[$key]); continue; } } @@ -457,6 +458,7 @@ class ResourceListController $methodResponses['errors'] = []; } $methodResponses['errors'] = array_merge($methodResponses['errors'], ['Fingerprints do not match for resource ' . $resId]); + unset($resourcesForAction[$key]); continue; }