We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NO_DATA
When trying to add a role to an existing user, the request fails with NO_DATA alert :
This exception is thrown :
UserFrosting/app/sprinkles/admin/src/Controller/UserController.php
Line 1330 in c92bf0b
Chat discussion : https://chat.userfrosting.com/channel/support?msg=Znc57SpxqegM54yEc
Response :
{ "message": "", "exception": [ { "type": "UserFrosting\\Support\\Exception\\BadRequestException", "code": 0, "message": "", "file": "\/home\/vagrant\/userfrosting\/app\/sprinkles\/admin\/src\/Controller\/UserController.php", "line": 1330 } ] }
Request URI :
PUT /api/users/u/foo/roles
Route :
UserFrosting/app/sprinkles/admin/routes/users.php
Line 42 in c92bf0b
Request data :
Type MIME: application/x-www-form-urlencoded; charset=UTF-8 csrf_name: csrf60e652263aa0e csrf_value: 271c4e77ad3a2ad72a4877b366d7abef value[0][role_id]: 1 value[1][role_id]: 2
roles from the URI doesn't seams to be passed to the Controller as field.
roles
field
The text was updated successfully, but these errors were encountered:
Template Ref : https://github.com/userfrosting/UserFrosting/blob/c92bf0b14f43cd53771d782f03c7b61c996ce814/app/sprinkles/admin/templates/modals/user-manage-roles.html.twig
Nothing changed in the last 2 years on those files... Not sure why it fails now... (unless it's been buggy all along).
Sorry, something went wrong.
Traced back the issue to these changes :
Template will need to be updated to follow deprecated changes...
Fix userfrosting#1163
0f9a0f3
lcharette
Successfully merging a pull request may close this issue.
When trying to add a role to an existing user, the request fails with
NO_DATA
alert :This exception is thrown :
UserFrosting/app/sprinkles/admin/src/Controller/UserController.php
Line 1330 in c92bf0b
Chat discussion : https://chat.userfrosting.com/channel/support?msg=Znc57SpxqegM54yEc
Response :
Request URI :
Route :
UserFrosting/app/sprinkles/admin/routes/users.php
Line 42 in c92bf0b
Request data :
roles
from the URI doesn't seams to be passed to the Controller asfield
.The text was updated successfully, but these errors were encountered: