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

getWorkflowExecutionByUser(...) method implementation is not correct

    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

        1. getWorkflowExecutionByUser.patch
          0.6 kB
          Bhathiya Jayasekara

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: