[ 
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

        

Reply via email to