[ARVADOS] updated: e636f4ec762410391aa8df7502468f98612ebb42

Git user git at public.curoverse.com
Mon Sep 12 17:44:26 EDT 2016


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

       via  e636f4ec762410391aa8df7502468f98612ebb42 (commit)
      from  d51c716d0d547ecea25819678c6e50b647051da9 (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 e636f4ec762410391aa8df7502468f98612ebb42
Author: Tom Clegg <tom at curoverse.com>
Date:   Mon Sep 12 16:53:55 2016 -0400

    Fix crash when pipeline template is not readable. refs #10003

diff --git a/apps/workbench/app/models/pipeline_instance.rb b/apps/workbench/app/models/pipeline_instance.rb
index 0541ce5..62bbc54 100644
--- a/apps/workbench/app/models/pipeline_instance.rb
+++ b/apps/workbench/app/models/pipeline_instance.rb
@@ -13,7 +13,7 @@ class PipelineInstance < ArvadosBase
       template = if lookup and lookup[self.pipeline_template_uuid]
                    lookup[self.pipeline_template_uuid]
                  else
-                   PipelineTemplate.find(self.pipeline_template_uuid) if self.pipeline_template_uuid
+                   PipelineTemplate.find?(self.pipeline_template_uuid) if self.pipeline_template_uuid
                  end
       if template
         template.name

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list