User tests: Successful: Unsuccessful:
Pull Request for Issue #38277 .
skip group check when webservices
send a PATCH to the {{base_url}}/{{base_path}}/users/{{user_id}}
Contents:
{"email":"testing@somemail.com", "some_custom_field": "0"}
Error : "Save failed with the following error: You can't save a user account without selecting at least one user group."
for the user specified by the {user_id}, the mail and custom field get updated to the values sent
?
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_users |
Labels |
Added:
?
?
|
Labels |
Added:
bug
?
|
I have tested this item ✅ successfully on 05d2925
This pull request has been automatically rebased to 4.4-dev.
Tried to test, but did'nt get the result:
My Test (User ID 51 exists):
curl -d '{"email":"testing@somemail.com", "some_custom_field": "0"}' -X PATCH http://localhost:8080/api/users/51 -H "Authorization: Bearer ..."
Response:
{"errors":[{"title":"Resource not found","code":404}]}
@tomsrocket It looks like you don't use the correct url.
In your case it should:
http://localhost:8080/api/index.php/v1/users/51
Labels |
Added:
PBF
Webservices
Small
PR-4.4-dev
Removed: ? ? ? |
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-04-11 19:02:16 |
Closed_By | ⇒ | alikon |
no interest
your testing instructions are unclear, please give step by step