You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "Marcus Christie (JIRA)" <ji...@apache.org> on 2017/03/24 13:41:41 UTC

[jira] [Commented] (AIRAVATA-2345) In airavata 0.17 JS deployment gateway admin cannot view other users experiment summary and statistics

    [ https://issues.apache.org/jira/browse/AIRAVATA-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15940347#comment-15940347 ] 

Marcus Christie commented on AIRAVATA-2345:
-------------------------------------------

The error occurs on 187 of ExperimentController.php:
{code}
$owner[$sharedExperimentOwner] = $users[$sharedExperimentOwner];
{code}

Full context:
{code}
$users = SharingUtilities::getProfilesForSharedUsers(Input::get("expId"), ResourceType::EXPERIMENT);
$sharedExperimentOwner = SharingUtilities::getSharedResourceOwner($experiment->experimentId, ResourceType::EXPERIMENT);
$sharedProjectOwner = SharingUtilities::getSharedResourceOwner($experiment->projectId, ResourceType::PROJECT);

$owner = array();
$projectOwner = array();
if (Session::get("username") !== $sharedExperimentOwner) {
    $owner[$sharedExperimentOwner] = $users[$sharedExperimentOwner];
}
if (Session::get("username") !== $sharedProjectOwner) {
{code}

The problem is that the owner should be defined as one of the users, but the owner isn't listed as one of the users.  This seems like a problem with the sharing registry migration.




> In airavata 0.17 JS deployment gateway admin cannot view other users experiment summary and statistics
> ------------------------------------------------------------------------------------------------------
>
>                 Key: AIRAVATA-2345
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2345
>             Project: Airavata
>          Issue Type: Bug
>          Components: PGA PHP Web Gateway
>    Affects Versions: 0.17
>         Environment: http://149.165.156.11/ - seagrid
>            Reporter: Eroma
>            Assignee: Marcus Christie
>             Fix For: 0.17
>
>
> A user with admin role cannot view experiment summary and statistics belonging to another user in Experiment Statistics page in Admin dashboard.
> When clicked on 'Status' from the listed experiments throws exception :Undefined index: Stefanhu
> When clicked on Check Stats icon nothing happens, data not listed and no error displayed



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)