Project

General

Profile

Actions

Bug #81271

closed

Save and preview button for records fails in workspaces

Added by Christian Weiske over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2017-05-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #66370: Add generic preview URL generator APIClosedMarkus Klein2015-04-10

Actions
Actions #1

Updated by Christian Weiske over 7 years ago

  • Related to Task #66370: Add generic preview URL generator API added
Actions #2

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()

Actions #3

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

Actions #4

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

Actions #5

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

Actions #6

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

Actions #7

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

Actions #8

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

Actions #9

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

Actions #10

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

Actions #11

Updated by Anonymous over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #12

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF