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

Suresh Marru closed AIRAVATA-538.
---------------------------------


good catch bhathiya.
                
> 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
>             Fix For: 0.5-INCUBATING
>
>         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
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to