[ARVADOS] updated: 1.3.0-3181-g8142a4596

Git user git at public.arvados.org
Fri Sep 18 19:10:15 UTC 2020


Summary of changes:
 apps/workbench/app/controllers/projects_controller.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  8142a4596bb2bf5a9966aa5e79ff587bf9e9e9a6 (commit)
      from  b7c4169e3d729ab4c45fde472e1da26d900f808d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 8142a4596bb2bf5a9966aa5e79ff587bf9e9e9a6
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Fri Sep 18 15:09:23 2020 -0400

    Fix wb1 bug preventing deletion of container requests & workflows
    
    refs #16839
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/apps/workbench/app/controllers/projects_controller.rb b/apps/workbench/app/controllers/projects_controller.rb
index 66dc3dcea..e448e1b45 100644
--- a/apps/workbench/app/controllers/projects_controller.rb
+++ b/apps/workbench/app/controllers/projects_controller.rb
@@ -133,7 +133,7 @@ class ProjectsController < ApplicationController
   def remove_items
     @removed_uuids = []
     params[:item_uuids].collect { |uuid| ArvadosBase.find uuid }.each do |item|
-      if item.class == Collection or item.class == Group
+      if item.class == Collection or item.class == Group or item.class == Workflow or item.class == ContainerRequest
         # Use delete API on collections and projects/groups
         item.destroy
         @removed_uuids << item.uuid

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list