Uploaded image for project: 'Konveyor Tackle'
  1. Konveyor Tackle
  2. TACKLE-480

Applications: Failed to delete Application

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Final
    • None
    • Hub
    • None

      Fail to Delete an Application  (Server Error 500)

       

      From the tackle-hub log:

       

      not sure how this can be reproduced,

      this Application Can be found here

      tackle-konveyor-tackle.apps.mig01.cnv-qe.rhcloud.com

       

      2022/04/14 14:51:02 /opt/app-root/src/api/application.go:145
      [0.227ms] [rows:1] DELETE FROM `applicationTags` WHERE `applicationTags`.`ApplicationID` = 1

      2022/04/14 14:51:02 /opt/app-root/src/api/application.go:145
      [35.758ms] [rows:1] DELETE FROM `Application` WHERE `Application`.`ID` = 1 AND `Application`.`ID` = 1
      [GIN] 2022/04/14 - 14:51:02 | 500 |   37.173782ms |   10.35.206.161 | DELETE   "/applications/1"
      [GIN] 2022/04/14 - 14:51:02 | 500 |   37.188449ms |   10.35.206.161 | DELETE   "/applications/1"

      2022/04/14 14:51:02 [Recovery] 2022/04/14 - 14:51:02 panic recovered:
      DELETE /applications/1 HTTP/1.1
      Host: tackle-hub:8080
      Connection: close
      Accept: application/json, text/plain, /
      Accept-Encoding: gzip, deflate, br
      Accept-Language: en-US,en;q=0.9
      Authorization: *
      Connection: close
      Content-Length: 0
      Forwarded: for=10.35.206.161;host=tackle-konveyor-tackle.apps.mig01.cnv-qe.rhcloud.com;proto=https
      Origin: https://tackle-konveyor-tackle.apps.mig01.cnv-qe.rhcloud.com
      Referer: https://tackle-konveyor-tackle.apps.mig01.cnv-qe.rhcloud.com/applications/assessment-tab
      Sec-Ch-Ua: " Not A;Brand";v="99", "Chromium";v="100", "Google Chrome";v="100"
      Sec-Ch-Ua-Mobile: ?0
      Sec-Ch-Ua-Platform: "Linux"
      Sec-Fetch-Dest: empty
      Sec-Fetch-Mode: cors
      Sec-Fetch-Site: same-origin
      User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36
      X-Forwarded-For: 10.35.206.161
      X-Forwarded-Host: tackle-konveyor-tackle.apps.mig01.cnv-qe.rhcloud.com
      X-Forwarded-Port: 443
      X-Forwarded-Proto: https

       

      **probbaly not the cause , but `Application` WHERE `Application`.`ID` = 1 AND `Application`.`ID` = 1' (`Application`.`ID` = 1'  * 2)

       

       

              amastbau Amos Mastbaum
              amastbau Amos Mastbaum
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: