Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-1383 Correct & Enhance PHP Command Line Scripts
  3. AIRAVATA-1395

Misleading message in script getApplicationDeployment.php when given a non-existing application deployment ID

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 0.13
    • None
    • None
    • None

    Description

      In script getApplicationDeployment.php when given a non-existing application deployment ID gives a misleading message from airavata. Need to clearly indicate the user that the given ID does not exists in the system.

      Gien message;
      Airavata System Exception!
      Error while retrieving application deployment. More info : javax.persistence.NoResultException: Query "SELECT p FROM ApplicationDeployment p WHERE p.deploymentID =:param0" selected no result, but expected unique result.

      Suggestion;
      Please provide a valid application deployment ID. Given value does not exist in the system.

      Attachments

        Activity

          People

            Unassigned Unassigned
            eroma_a Eroma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: