-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
status: verifiedIf an issue has been reproducedIf an issue has been reproduced
Description
Describe the Bug
When trying to access the versions of a document that contains a blocks field, and one of the blocks includes a tabs field, the following error occurs:
Error: No client field found for pages._index-0-0-0
This seems related to deep nesting inside blocks → tabs → fields, as referenced in #11458, but it's still reproducible with additional depth.
Link to the code that reproduces this issue
https://github.com/timothylp/payload-issue-reproduction/tree/bug/versions-break-tabs
Reproduction Steps
- Create a collection with a blocks field
- Define a block that includes a tabs field
- Inside one of the tabs, add any regular field (e.g. text)
- Create a document using that block and fill in the inner field
- Try to view the document’s version history
- Payload throws: Error: No client field found for pages._index-0-0-0
Which area(s) are affected? (Select all that apply)
area: ui
Environment Info
Binaries:
Node: 20.18.2
npm: N/A
Yarn: N/A
pnpm: 9.15.4
Relevant Packages:
payload: 3.37.0
next: 15.3.0
@payloadcms/email-nodemailer: 3.37.0
@payloadcms/graphql: 3.37.0
@payloadcms/next/utilities: 3.37.0
@payloadcms/payload-cloud: 3.37.0
@payloadcms/plugin-cloud-storage: 3.37.0
@payloadcms/richtext-lexical: 3.37.0
@payloadcms/storage-s3: 3.37.0
@payloadcms/translations: 3.37.0
@payloadcms/ui/shared: 3.37.0
react: 19.1.0
react-dom: 19.1.0
Operating System:
Platform: win32
Arch: x64
Version: Windows 11 Pro
Available memory (MB): 32486
Available CPU cores: 32
SneakSpiceak, jhb-dev, TheThingsWithin, cocloux, eliuAtFanatics and 1 morewedu-dapth and jhb-dev
Metadata
Metadata
Assignees
Labels
status: verifiedIf an issue has been reproducedIf an issue has been reproduced