Bhathiya Jayasekara created AIRAVATA-538:
--------------------------------------------

             Summary: 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


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