You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Create a BelongsTo relationship and field on a model.
Create a new resource in Nova with a value for the BelongsTo field.
Attempt to create another resource with the same BelongsTo field value.
See validation message.
Save as an empty/null value.
Update the resource with the original BelongsTo value.
Updates successfully.
The text was updated successfully, but these errors were encountered:
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)
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.The text was updated successfully, but these errors were encountered: