Skip to content
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

Preview FCEs moved in DRAFT dont works #1927

Open
supercaccia opened this issue Feb 17, 2022 · 2 comments
Open

Preview FCEs moved in DRAFT dont works #1927

supercaccia opened this issue Feb 17, 2022 · 2 comments

Comments

@supercaccia
Copy link
Contributor

TYPO3 v8,v10 flux9-dev

In draft workspace create for example a page that contains an FCE, for example a 2 column grid with content inside it and publish it.
After, in DRAFT move for example the FCE in anoter page layout column.
At this point if you preview the page on the frontend the FCE has lost its contents. The problem is solved by publishing.
According to my analysis this happens because moving an FCE creates a version of the FCE record but not of its contents.
The versioned FCE refers to the colPos of the live records and not to the draft ones (which do not exist).

@joneppie
Copy link
Contributor

Deleting and copying hidden elements also returns the following error:
Argument 1 passed to FluidTYPO3\Flux\Provider\AbstractProvider::getGrid() must be of the type array, null given, called in /var/www/typo3-10er/public/typo3conf/ext/flux/Classes/Integration/HookSubscribers/DataHandlerSubscriber.php on line 433

@cweiske
Copy link
Contributor

cweiske commented Jun 27, 2022

@joneppie The problem with deleted elements is #1939, and can be solved with #1957.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants