User tests: Successful: Unsuccessful:
Pull Request for Issue #45590 .
return HTTP status code 409 instead of 500
add a system test
delete not-trashed resource like: tag, category, article etc via webservices DELETE endpoint
HTTP status code 500 and error message "Internal server error".
HTTP status code 409 with informative message like : Resource not in state that can be deleted, must be trashed before it can be deleted
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | JavaScript Unit Tests |
Labels |
Added:
Unit/System Tests
PR-6.0-dev
|
Category | JavaScript Unit Tests | ⇒ | Libraries JavaScript Unit Tests |
Title |
|
Title |
|
Title |
|
Title |
|
Labels |
Added:
PBF
bug
Webservices
|
I have tested this item ✅ successfully on 4fbb57e
I have tested this item ✅ successfully on 4fbb57e
I have re-tested this successfully ! Thanks @alikon
Same positive results :D
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
RTC
|
@alikon Since the last branch update, system tests are failing for this PR here:
Running: api/com_contact/Contacts.cy.js (103 of 148)
Test that contacts API endpoint
✓ can deliver a list of contacts (947ms)
✓ can deliver a single contact (97ms)
✓ can create a contact (120ms)
✓ can update a contact (158ms)
✓ can delete a contact (94ms)
1) check correct response for delete a not existent contact
✓ can submit a contact form (291ms)
6 passing (2s)
1 failing
1) Test that contacts API endpoint
check correct response for delete a not existent contact:
CypressError: `cy.request()` failed on:
https://localhost/cmysql/api/index.php/v1/contacts/9999
The response we received from your web server was:
> 500: Internal Server Error
Did I do something wrong when resolving the conflict caused by the upmerged PR #45589 ?
Title |
|
@richard67 all system tests are successful now
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-09-08 19:10:03 |
Closed_By | ⇒ | Bodge-IT |
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.