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

createDomain uses the domainName as domainId, creating referential integrity issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      If a gateway's name is different from it's ID, then:

      The PGA creates the gateway ID based on the gateway name, but sanitizes it, see https://github.com/apache/airavata-php-gateway/blob/develop/app/libraries/AdminUtilities.php#L21-L22.

      In this specific instance, we had a gateway name of `gateway.ung` which the PGA turned into a gateway id of `gateway-ung`. Usually the gateway name and ID are the same so this isn't an issue.

      Workaround

      Until this fix is in production, gateway names should only have lowercase letters and numbers and dashes.

      Attachments

        Activity

          People

            marcuschristie Marcus Christie
            marcuschristie Marcus Christie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: