[ARVADOS] updated: 3fbba8072b4bf37a8b3e90ae60e2a79a77fee41e

Git user git at public.curoverse.com
Fri May 12 09:04:15 EDT 2017


Summary of changes:
 apps/workbench/app/models/container_work_unit.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

       via  3fbba8072b4bf37a8b3e90ae60e2a79a77fee41e (commit)
      from  8cf32f391259389508b2b83c27d7b6bd1e70c2b6 (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 3fbba8072b4bf37a8b3e90ae60e2a79a77fee41e
Author: radhika <radhika at curoverse.com>
Date:   Fri May 12 09:03:28 2017 -0400

    10645: ApplicationController.helpers.object_for_dataclass not accessible from container_work_unit

diff --git a/apps/workbench/app/models/container_work_unit.rb b/apps/workbench/app/models/container_work_unit.rb
index afdc91e..240dedb 100644
--- a/apps/workbench/app/models/container_work_unit.rb
+++ b/apps/workbench/app/models/container_work_unit.rb
@@ -6,7 +6,8 @@ class ContainerWorkUnit < ProxyWorkUnit
     if @proxied.is_a?(ContainerRequest)
       container_uuid = get(:container_uuid)
       if container_uuid
-        @container = Container.find(container_uuid)
+        #@container = Container.where(uuid: container_uuid).first
+        ApplicationController.helpers.object_for_dataclass Container, container_uuid
       end
     end
   end

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list