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 using @payloadcms/plugin-nested-docs with a localized collection, the data saved to the _breadcrumbs table is incomplete. Parent entries are missing for the translation of the entry you selected the parent from originally.
I would expect both parent-en/child-en and parent-de/child-de entries
NOTE: If you switch to the translation the parent is populated as expected. You can remove the parent -> save -> add it again -> save, and the correct entry will be added to _breadcrumbs.
Describe the Bug
When using
@payloadcms/plugin-nested-docs
with a localized collection, the data saved to the_breadcrumbs
table is incomplete. Parent entries are missing for the translation of the entry you selected the parent from originally.I would expect both parent-en/child-en and parent-de/child-de entries
NOTE: If you switch to the translation the parent is populated as expected. You can remove the parent -> save -> add it again -> save, and the correct entry will be added to _breadcrumbs.
Link to the code that reproduces this issue
https://github.com/mikexavier/payload-nested-docs-bug
Reproduction Steps
category_breadcrumbs
tablepayload-nested-docs-bug-2.mov
Which area(s) are affected? (Select all that apply)
plugin: nested-docs
Environment Info
The text was updated successfully, but these errors were encountered: