Project

General

Profile

Actions

Bug #82456

closed

Multiple usage of "save and preview" button does not reload preview tab

Added by Felix Nagel over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2017-09-11
Due date:
% Done:

100%

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

Description

When editing a content element, it's possible that an editor clicks the "save and preview" button after each content change. In this case, the preview tab will not reload and therefor will not show updated content.

Steps to reproduce:

  • Add a text content element
  • Use "save and preview" button -> new tab opens
  • Go back to BE tab and change content
  • Click "save and preview" button again -> preview tabs gets focus but does not reload

Introduced with TYPO3 8.7.5 in this commit: https://github.com/TYPO3/TYPO3.CMS/commit/4973abb62beed43e37f6377e10ef1d48ba8c1c8f

Using a simple `previewWin.location.reload();` in `viewOnClick` solves the issue but breaks the initial click on "save and preview". Perhaps adding a time stamp GET parameter is another option? Or adding some on load event?


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #81250: Preview link of content element misses the anchor in some casesClosed2017-05-18

Actions
Related to TYPO3 Core - Bug #93706: Content element "View" button does not reload pageClosed2021-03-11

Actions
Actions

Also available in: Atom PDF