From: Lucas Di Pentima Date: Fri, 27 May 2022 14:33:42 +0000 (-0300) Subject: Merge branch '19144-wb-copy-collections-fix'. Closes #19144 X-Git-Tag: 2.5.0~149 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/08c300b0d042f4f9bf80656a533e6233fa121c74?hp=3eae74e5af3f81c324ec1d617141afe7619719b4 Merge branch '19144-wb-copy-collections-fix'. Closes #19144 Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- diff --git a/apps/workbench/app/controllers/actions_controller.rb b/apps/workbench/app/controllers/actions_controller.rb index 3667d8acaa..df489d2eeb 100644 --- a/apps/workbench/app/controllers/actions_controller.rb +++ b/apps/workbench/app/controllers/actions_controller.rb @@ -87,6 +87,9 @@ class ActionsController < ApplicationController end if resource_class == Collection dst.manifest_text = Collection.select([:manifest_text]).where(uuid: src.uuid).with_count("none").first.manifest_text + # Fixes bug 19144: nullify some fields that are managed by keep-balance. + dst.storage_classes_confirmed = [] + dst.storage_classes_confirmed_at = nil end when :move dst = src