-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
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
Migration from 3.0.6 to 3.1.1 caused custom user controllers error: Error creating endpoint post /users: handler not found #7196
Comments
Please downgrade your node version to the latest supported LTS (v12) and test again |
downgraded to |
Thank you for reporting this issue. Related to the API name probable - conflicting with the User model in the Users & Permissions plugin I guess. @alexandrebodin Can you please confirm it's related to that. |
@andylacko do you have a routes.json file to share ? |
@alexandrebodin , I have no |
OK @andylacko I can make a fix for this issue but I would still recommend you rename the controller to my-user.js to avoid any conflict with the admin users :) |
oh nice, I see what you mean, will rename it 👌 |
Hello, when updated to 3.1.1, server does not start, this is as much info as I discovered
Describe the bug
this is how my
api/user/controllers/user.js
looks likeafter upgrading to 3.1.1 can't start server, error
is shown also when cleaned cache. It seems like it's not extending the object, but replacing with custom defined by me
Steps to reproduce the behavior
Expected behavior
to run server and be able to set permissions in admin
System
The text was updated successfully, but these errors were encountered: