-
Bug
-
Resolution: Done
-
Major
-
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 [32m/opt/app-root/src/api/application.go:145
[0m[33m[0.227ms] [34;1m[rows:1][0m DELETE FROM `applicationTags` WHERE `applicationTags`.`ApplicationID` = 1
2022/04/14 14:51:02 [32m/opt/app-root/src/api/application.go:145
[0m[33m[35.758ms] [34;1m[rows:1][0m 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"
[31m2022/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)