-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Description
Describe the Bug
When adding autosave to a collection's drafts with nested-docs, it generates multiple empty breadcrumbs on the page, and the information added is incorrect (as you can see in the image below).

Link to the code that reproduces this issue
https://github.com/italodr/payloadcms-issues/tree/autosave-nested-docs
Reproduction Steps
- Clone the repo
- Follow the README file instructions
- Access to the admin page
- Go to "Pages" collection
- Add a new page
- Add the title
Which area(s) are affected? (Select all that apply)
plugin: nested-docs
Environment Info
Binaries:
Node: 22.14.0
npm: 10.9.2
Yarn: 1.22.22
pnpm: 10.13.1
Relevant Packages:
payload: 3.54.0
next: 15.5.2
@payloadcms/db-postgres: 3.54.0
@payloadcms/email-nodemailer: 3.54.0
@payloadcms/graphql: 3.54.0
@payloadcms/next/utilities: 3.54.0
@payloadcms/payload-cloud: 3.54.0
@payloadcms/plugin-nested-docs: 3.54.0
@payloadcms/richtext-lexical: 3.54.0
@payloadcms/translations: 3.54.0
@payloadcms/ui/shared: 3.54.0
react: 19.1.1
react-dom: 19.1.1
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:29 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T6030
Available memory (MB): 18432
Available CPU cores: 11
Metadata
Metadata
Assignees
Labels
No labels