Bug description
The integration test "test_retroactive_edit_finding" fails, because a finding with the status "Inactive, Mitigated, False Positive" cant be activated again.
Steps to reproduce
Run test_retroactive_edit_finding
Expected behavior
Test "test_retroactive_edit_finding" will run without errors.
Deployment method(select with an X)
[X] Docker Compose
[ ] Kubernetes
[ ] GoDojo
Environment information
Operating System: MacOS
DefectDojo version (see footer) or commit message: 2.28.0
Logs
django-defectdojo-nginx-1 | 192.168.65.1 - - [13/Nov/2023:08:28:36 +0000] "GET /finding/90 HTTP/1.1" 200 25219 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" "-"
django-defectdojo-uwsgi-1 | [pid: 26|app: -|req: -/-] 192.168.65.1 (admin) {58 vars in 1184 bytes} [Mon Nov 13 08:28:39 2023] GET /finding/90/edit => generated 106497 bytes in 93 msecs (HTTP/1.1 200) 9 headers in 394 bytes (1 switches on core 1)
django-defectdojo-nginx-1 | 192.168.65.1 - - [13/Nov/2023:08:28:39 +0000] "GET /finding/90/edit HTTP/1.1" 200 14469 "http://localhost:8080/finding/90" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" "-"
django-defectdojo-uwsgi-1 | [pid: 27|app: -|req: -/-] 192.168.65.1 (admin) {66 vars in 1373 bytes} [Mon Nov 13 08:28:47 2023] POST /finding/90/edit => generated 0 bytes in 111 msecs (HTTP/1.1 302) 10 headers in 471 bytes (1 switches on core 1)
django-defectdojo-nginx-1 | 192.168.65.1 - - [13/Nov/2023:08:28:47 +0000] "POST /finding/90/edit HTTP/1.1" 302 0 "http://localhost:8080/finding/90/edit" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" "-"
django-defectdojo-uwsgi-1 | [13/Nov/2023 08:28:47] ERROR [dojo.finding.views:646] error_no_jira_project
django-defectdojo-uwsgi-1 | [pid: 26|app: -|req: -/-] 192.168.65.1 (admin) {60 vars in 1367 bytes} [Mon Nov 13 08:28:47 2023] GET /finding/90 => generated 159974 bytes in 112 msecs (HTTP/1.1 200) 10 headers in 492 bytes (1 switches on core 0)
django-defectdojo-nginx-1 | 192.168.65.1 - - [13/Nov/2023:08:28:47 +0000] "GET /finding/90 HTTP/1.1" 200 25309 "http://localhost:8080/finding/90/edit" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" "-"
django-defectdojo-uwsgi-1 | [pid: 26|app: -|req: -/-] 192.168.65.1 (admin) {56 vars in 1018 bytes} [Mon Nov 13 08:28:57 2023] GET /alerts/count => generated 14 bytes in 44 msecs (HTTP/1.1 200) 8 headers in 236 bytes (1 switches on core 1)
django-defectdojo-nginx-1 | 192.168.65.1 - - [13/Nov/2023:08:28:57 +0000] "GET /alerts/count HTTP/1.1" 200 14 "http://localhost:8080/finding/90" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" "-"
Bug description The integration test "test_retroactive_edit_finding" fails, because a finding with the status "Inactive, Mitigated, False Positive" cant be activated again.
Steps to reproduce
Expected behavior Test "test_retroactive_edit_finding" will run without errors.
Deployment method (select with an
X
)Environment information
Logs