data-hub
data-hub copied to clipboard
[Bug]: Can't fetch data of editables for documents with inheritance
Expected behavior
I expect editables and their content on documents or headless documents that have been pasted via inheritance (with Content-Master Document) to be exposed via GraphQL.
Actual behavior
Documents or headless documents that have been copied and pasted using inheritance (setting a Content-Master Document) do not expose their content and editables via GraphQL.
Picture below is showing query and response for:
- "original" document and its editables,
- pasted document not using inheritance (see "paste") showing same editables and
- pasted document using inheritance (see "paste_inheritance") showing empty field editables
Remark: Content and editables are getting exposed only when they are overwritten in copied document with inheritance.
Steps to reproduce
In Pimcore Demo …
- Copy a document e.g. "Data Quality" (ID: 193)
- Paste this document using inheritance (of structure and content)
- Try to query for pasted document and its editables via GraphQL
- Field editables is empty
@neusta-diaspero Again, that´s something we need to support in the pimcore repository first. I created a corresponding issue for that: https://github.com/pimcore/pimcore/issues/12762