Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-538

getWorkflowExecutionByUser(...) method implementation is not correct

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.5
    • Registry API
    • None

    Description

      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));
      }

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            bhathiya Bhathiya Jayasekara
            bhathiya Bhathiya Jayasekara
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment