Unit/System Tests
PR-6.0-dev
Pending
User tests:
Successful:
Unsuccessful:
Pull Request for Issue #45590 .
Summary of Changes
return HTTP status code 409 instead of 500
add a system test
Testing Instructions
delete not-trashed resource like: tag, category, article etc via webservices DELETE endpoint
Actual result BEFORE applying this Pull Request
HTTP status code 500 and error message "Internal server error".
Expected result AFTER applying this Pull Request
HTTP status code 409 with informative message like : Resource not in state that can be deleted, must be trashed before it can be deleted
Link to documentations
Please select:
alikon
-
open
-
7 Aug 2025
joomla-cms-bot
-
change
-
7 Aug 2025
Category |
|
⇒ |
JavaScript
Unit Tests
|
Labels |
Added:
Unit/System Tests
PR-6.0-dev
|
joomla-cms-bot
-
change
-
7 Aug 2025
Category |
JavaScript
Unit Tests
|
⇒ |
Libraries
JavaScript
Unit Tests
|
Title |
… |
Draft cannot delete not trashed banner test |
[WIP][webservices] cannot delete not trashed resource return 409 |
|
The description was changed
Title |
… |
[WIP][webservices] cannot delete not trashed resource return 409 |
[WIP][webservices] cannot not trashed resource return 409 |
|
Title |
… |
[WIP][webservices] cannot not trashed resource return 409 |
[WIP][webservices] cannot delete not trashed resource return 409 |
|
The description was changed
Title |
… |
[WIP][webservices] cannot delete not trashed resource return 409 |
[6.0][webservices] cannot delete not trashed resource return 409 |
|
exlemor
-
test_item
-
8 Aug 2025
-
Tested successfully
Add a Comment
Login with GitHub to post a comment
I have tested this item ✅ successfully on 9b475e6
I have tested this successfully via Postman! Thanks @alikon (and I confirmed that if you do Trash the article, if does DELETE it as well).
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/45868.