You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by "Bhathiya Jayasekara (JIRA)" <ji...@apache.org> on 2012/08/14 14:39:37 UTC

[jira] [Updated] (AIRAVATA-538) getWorkflowExecutionByUser(...) method implementation is not correct

     [ https://issues.apache.org/jira/browse/AIRAVATA-538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bhathiya Jayasekara updated AIRAVATA-538:
-----------------------------------------

    Attachment: getWorkflowExecutionByUser.patch

Patch attached.
                
> getWorkflowExecutionByUser(...) method implementation is not correct
> --------------------------------------------------------------------
>
>                 Key: AIRAVATA-538
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-538
>             Project: Airavata
>          Issue Type: Bug
>          Components: Registry API
>            Reporter: Bhathiya Jayasekara
>            Assignee: Bhathiya Jayasekara
>         Attachments: getWorkflowExecutionByUser.patch
>
>
> Following method in AiravataJCRRegistry is not correct. It calls itself recursively forever. 
> public List<WorkflowExecution> getWorkflowExecutionByUser(String user,
> int pageSize, int pageNo) throws RegistryException {
> if (getProvenanceRegistry()!=null){
> return getProvenanceRegistry().getWorkflowExecutionByUser(user, pageSize, pageNo);
> }
> return getWorkflowExecutionByUser(user,pageSize*pageNo,pageSize*(pageNo+1));
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira