The current implementation of the update method of the user resource requires a separate API call to update each category. This is surprising for users who use the core Profile module to add fields to profiles under several categories. The attached patch modifies the user resource's update method so that if no category is specified, all categories will be updated automatically without the need to update categories one-by-one.

If this patch isn't acceptable, the alternative is to use it as a basis for an override of the user update method via hook_services_resources_alter.

Comments

cotto’s picture

Version: 7.x-3.x-dev » 6.x-3.0
StatusFileSize
new2.69 KB

rerolled against the 6.x-3.0 release

Status: Needs review » Needs work

The last submitted patch, user-categories-simplification-1295342-1.patch, failed testing.

kylebrowning’s picture

Status: Needs work » Closed (won't fix)

neither of these patches apply anymore, re-roll if you want them to be commited.