Closed grantholle closed 5 months ago
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 tried but can't reproduce it. That's a great feeling.
I found it had to do with my reciprocal relationship. Just needed to be refactored.
Description:
When attempting to create a resource with a
BelongsTo
relation value that already is associated with another resource, it will fail validation with the message "This {field resource name} may not be associated with this resource."I can, however, save the
BelongsTo
as null and update it with the same resource value that was used when trying to create it.Detailed steps to reproduce the issue on a fresh Nova installation:
BelongsTo
relationship and field on a model.BelongsTo
field.BelongsTo
field value.BelongsTo
value.