updating experiment-partials view to check nullity of appInt. and CR.
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/8edd44d4 Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/8edd44d4 Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/8edd44d4 Branch: refs/heads/0.15-release-branch Commit: 8edd44d43d401f85fab47a1017481e5f76511832 Parents: c0d62c5 Author: Supun Nakandala <[email protected]> Authored: Tue Jun 30 21:59:38 2015 +0530 Committer: Supun Nakandala <[email protected]> Committed: Tue Jun 30 21:59:38 2015 +0530 ---------------------------------------------------------------------- app/views/partials/experiment-info.blade.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/8edd44d4/app/views/partials/experiment-info.blade.php ---------------------------------------------------------------------- diff --git a/app/views/partials/experiment-info.blade.php b/app/views/partials/experiment-info.blade.php index 623eb53..782f580 100644 --- a/app/views/partials/experiment-info.blade.php +++ b/app/views/partials/experiment-info.blade.php @@ -33,11 +33,15 @@ </tr> <tr> <td><strong>Application</strong></td> - <td><?php echo $expVal["applicationInterface"]->applicationName; ?></td> + <td><?php if (!empty($expVal["applicationInterface"])) { + echo $expVal["applicationInterface"]->applicationName; + } ?></td> </tr> <tr> <td><strong>Compute resource</strong></td> - <td><?php echo $expVal["computeResource"]->hostName; ?></td> + <td><?php if (!empty($expVal["computeResource"])) { + $expVal["computeResource"]->hostName; + } ?></td> </tr> <tr> <td><strong>Experiment Status</strong></td>
