[ARVADOS] updated: e00a7787bb87e2d1b42e669a2602b64907fbda00

Git user git at public.curoverse.com
Tue Oct 11 20:43:54 EDT 2016


Summary of changes:
 apps/workbench/app/views/work_units/_component_detail.html.erb | 1 +
 1 file changed, 1 insertion(+)

       via  e00a7787bb87e2d1b42e669a2602b64907fbda00 (commit)
      from  796db22b3f3e4bdda6dfa7b660da0e7f75e80c13 (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 e00a7787bb87e2d1b42e669a2602b64907fbda00
Author: radhika <radhika at curoverse.com>
Date:   Tue Oct 11 20:27:28 2016 -0400

    10144: call object_for_dataclass only when attr value is not-nil.

diff --git a/apps/workbench/app/views/work_units/_component_detail.html.erb b/apps/workbench/app/views/work_units/_component_detail.html.erb
index f66ff07..7d588ba 100644
--- a/apps/workbench/app/views/work_units/_component_detail.html.erb
+++ b/apps/workbench/app/views/work_units/_component_detail.html.erb
@@ -43,6 +43,7 @@
             <table>
               <% # link to repo tree/file only if the repo is readable and the commit is a sha1
                  repo = (/^[0-9a-f]{40}$/ =~ current_obj.script_version and
+                         current_obj.repository and
                          object_for_dataclass(Repository, current_obj.repository, :name))
                  repo = nil unless repo.andand.http_fetch_url
                  %>

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list