Open stsier opened 6 years ago
@stsier Have you by chance located a working example in Drupal 8.4.4+ with the Language module on what a successful PUT/PATCH request/response should look like?
Also, what does the JSON payload look like being sent by angular-drupal?
for example I patch the user's profile which has a field "styles": {"field_user_styles":[{"target_id":1}],"uid":[{"value":165}]} just removing Language module solves the problem same thing with creating a new user. I tried doing this with admin rights, same problem. By the way, Language module doesn't affect PUT or PATCH on Content entities, it works perfectly.
@stsier Thank you for the follow up. This could be an issue with Drupal 8 core... have you raised this issue anywhere on drupal.org ?
no, which branch do you suggest?
another question, I've seen somewhere in the feeds that there's a bug which doesn't allow registering a new user for anonymous. So the WA is to register a new user via a super user with "Administer users" permission. So far I confirm this behaviour as well, but maybe it has since been solved. In any case, as of today the issue persists (sorry for off topic, but maybe they have the same root)
@stsier This sounds like a Drupal Core REST issue/support-request, I'd search through the core's REST issue queue looking for stuff about language codes and user entities. If you can find/file an issue there and link it back here, I'd like to follow it as well.
Regarding registering anonymous users, please open a new issue, thanks.
When enabling Language module in Drupal 8.4.4 I get 403 PUT/PATCH error on user register/update