-
Notifications
You must be signed in to change notification settings - Fork 34
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
Can see Create button on relation, but 404 when actually creating #6050
Comments
This is more of a Laravel thing I suppose, but I'd love it if there was a way to add a flag that would enable DEBUG level logging for policies, listing each method that's checked to help me figure out what needs to be modified for permissions. |
Unable to reproduce the issue, please provide full reproducing repository based on fresh installation as suggested in the bug report template (or you can refer to https://github.com/nova-issues for example) |
I've been able to narrow down why this is happening. It looks like the child resource must be defined on the parent My
Adding this debug code to the
Output:
This means it's only pulling fields from the
|
Description:
I can see the Create button, but clicking it shows a
404
.Detailed steps to reproduce the issue on a fresh Nova installation:
when I click Create it sends a GET request to
/nova-api/affiliates/field/campaigns?resourceName=affiliate-campaigns&viaResource=affiliates&viaResourceId=1&viaRelationship=campaigns
which results in a404
.Relevant policies:
Relevant models:
What could cause this 404?
The text was updated successfully, but these errors were encountered: