Bug #81271
closedSave and preview button for records fails in workspaces
100%
Description
Since #66370 it is possible to make the "save and preview" button work for any records with PageTSconfig, see https://docs.typo3.org/typo3cms/TSconfigReference/PageTsconfig/TCEmain/Index.html#preview
This does not work for records in that are being edited in workspaces.
The preview URL opened by the browser is only for the page itself, not for the record.
Updated by Christian Weiske over 7 years ago
- Related to Task #66370: Add generic preview URL generator API added
Updated by Daniel Bagel over 7 years ago
I have the same problem in Typo3 7.6.18.
TCEMAIN.preview is configured for the News extension as described in the News documentation.
In LIVE a click on "Save & Preview" correctly displays a News preview in the frontend.
In a WORKSPACE a click on "Save & Preview" on a News record with unpublished changes fails. The preview uses the record UID of the Workspace record instead of the UID of the original.
One possible solution might be some code for handling Workspace records in TYPO3\CMS\Backend\Controller\EditDocumentController:generatePreviewCode()
Updated by Gerrit Code Review almost 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55070
Updated by Gerrit Code Review over 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55070
Updated by Gerrit Code Review over 6 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55070
Updated by Gerrit Code Review about 6 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55070
Updated by Gerrit Code Review almost 6 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55070
Updated by Gerrit Code Review almost 6 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55070
Updated by Gerrit Code Review almost 6 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55070
Updated by Gerrit Code Review over 5 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60333
Updated by Anonymous over 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 61a42e245161841ce79e100bcb4c15e0fd1f2e36.