You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2015/07/14 18:38:32 UTC
[27/40] airavata-php-gateway git commit: fixing AIRAVATA-1741
fixing AIRAVATA-1741
Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/a411b2b2
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/a411b2b2
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/a411b2b2
Branch: refs/heads/0.15-release-branch
Commit: a411b2b20024760743a801bc247267a9192b3392
Parents: 76e9c65
Author: Supun Nakandala <sc...@apache.org>
Authored: Tue Jun 30 17:01:10 2015 +0530
Committer: Supun Nakandala <sc...@apache.org>
Committed: Tue Jun 30 17:01:10 2015 +0530
----------------------------------------------------------------------
app/views/project/summary.blade.php | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/a411b2b2/app/views/project/summary.blade.php
----------------------------------------------------------------------
diff --git a/app/views/project/summary.blade.php b/app/views/project/summary.blade.php
index aeb6579..6501686 100755
--- a/app/views/project/summary.blade.php
+++ b/app/views/project/summary.blade.php
@@ -72,8 +72,17 @@
echo "<td>$applicationInterface->applicationName</td>";
- echo '<td>' . CRUtilities::get_compute_resource($experiment->userConfigurationData
- ->computationalResourceScheduling->resourceHostId)->hostName . '</td>';
+ echo '<td>';
+ try {
+ $cr = CRUtilities::get_compute_resource($experiment->userConfigurationData
+ ->computationalResourceScheduling->resourceHostId);
+ if (!empty($cr)) {
+ echo $cr->hostName;
+ }
+ } catch (Exception $ex) {
+ //Error while retrieving the CR
+ }
+ echo '</td>';
echo '<td class="time" unix-time="' . $expValues["experimentTimeOfStateChange"] . '"></td>';