-
Notifications
You must be signed in to change notification settings - Fork 2.4k
3.26.0 throws error when change relation in a collection #11583
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
Comments
Can you try that on 3.27.0? |
@r1tsuu already did. still the same error |
What if you sync indexes for the courses collection? Create a migration with
The only change that we did is that now if you have a join field - the target relationship is indexed by default. I think it shouldn't cause any issues though. |
anyway you could help with that? |
Describe the Bug
Hi i have a collection courses with multiple relations to other collections. After updating to the newest version of payload i get a strange behaviour when trying to add a relation for a single course(seen in video)
This is my Course Collection
message.txt
and this my organizer collection
if i try to change something it only shows an error.
It happens only if a upgrade to version 3.26.0 or above. in version 3.25.0 it still works.
it says "no title" in the api view there is clearly a title
this is the error message i get when i try to change the field organizer or categories
Link to the code that reproduces this issue
https://github.com/maxkarkowski/courses/blob/main/src/collections/Courses/index.ts
Reproduction Steps
i could not reproduce is in a fresh install of payload, even though i used the same collections. you can try to use my repo(made it public for this issue). just update to version 3.26.0
Which area(s) are affected? (Select all that apply)
Not sure
Environment Info
The text was updated successfully, but these errors were encountered: