PBF bug Webservices Small PR-4.4-dev Pending

User tests: Successful: Unsuccessful:

avatar alikon
alikon
16 Jul 2022

Pull Request for Issue #38277 .

Summary of Changes

skip group check when webservices

Testing Instructions

send a PATCH to the {{base_url}}/{{base_path}}/users/{{user_id}}
Contents:

{"email":"testing@somemail.com", "some_custom_field": "0"}

Actual result BEFORE applying this Pull Request

Error : "Save failed with the following error: You can't save a user account without selecting at least one user group."

Expected result AFTER applying this Pull Request

for the user specified by the {user_id}, the mail and custom field get updated to the values sent

Documentation Changes Required

?

avatar alikon alikon - open - 16 Jul 2022
avatar alikon alikon - change - 16 Jul 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 16 Jul 2022
Category Administration com_users
avatar alikon alikon - change - 18 Jul 2022
Labels Added: ? ?
avatar N6REJ
N6REJ - comment - 2 Aug 2022

your testing instructions are unclear, please give step by step

avatar alikon alikon - change - 25 Apr 2023
Labels Added: bug ?
avatar heelc29 heelc29 - test_item - 26 Aug 2023 - Tested successfully
avatar heelc29
heelc29 - comment - 26 Aug 2023

I have tested this item ✅ successfully on 05d2925


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38283.

avatar HLeithner
HLeithner - comment - 30 Sep 2023

This pull request has been automatically rebased to 4.4-dev.

avatar tomsrocket
tomsrocket - comment - 24 Feb 2024

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}]}

avatar heelc29
heelc29 - comment - 24 Feb 2024

@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

avatar Hackwar Hackwar - change - 26 Feb 2024
Labels Added: PBF Webservices Small PR-4.4-dev
Removed: ? ? ?
avatar alikon alikon - change - 11 Apr 2024
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2024-04-11 19:02:16
Closed_By alikon
avatar alikon
alikon - comment - 11 Apr 2024

no interest

avatar alikon alikon - close - 11 Apr 2024

Add a Comment

Login with GitHub to post a comment