Project

General

Profile

Actions

Bug #20852

closed

Can create preview links only for the default language of a page

Added by Stefan Sprenger over 15 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Category:
Workspaces
Target version:
Start date:
2009-08-07
Due date:
% Done:

100%

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

Description

You can't create preview links for alternative page languages.
Only a preview link for the default page language is available.

I have patched this by creating a preview link for each alternative language available on the page.

(issue imported from #M11672)


Files

index.php (2.96 KB) index.php Administrator Admin, 2009-08-07 17:43
index_old.php (66.6 KB) index_old.php Administrator Admin, 2009-08-07 17:47
bug_11672.diff (2.75 KB) bug_11672.diff Administrator Admin, 2010-06-09 16:47

Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Bug #26612: Preview does not include L parameter if not default languageClosedOliver Hader2011-05-04

Actions
Related to TYPO3 Core - Bug #45519: Workspace Preview Link Generator problemClosed2013-02-15

Actions
Related to TYPO3 Core - Bug #12970: Generate Workspace Preview Link should honor options.view.languageOrderClosed2011-02-11

Actions
Related to TYPO3 Core - Bug #69637: Creating preview links overloads user interfaceClosed2015-09-10

Actions
Actions #1

Updated by Stefan Sprenger over 15 years ago

The concerning file is typo3/sysext/version/cm1/index.php.
The uploaded file index.php includes my patch and index_old.php is the current version.

The TYPO3 core version is 4.1.12.
My patch is from line 682 to 707.

Actions #2

Updated by Tolleiv Nietsch over 15 years ago

if you open up the workspace-preview module with in right language the generated preview-link will carry-on that language

btw your "patch" creates links without checking whether the User has a right to "view" the language...

btw you might want to read this before you send out "patches"...
http://typo3.org/development/bug-fixing/diff-and-patch/

Actions #3

Updated by Constantin Lebrecht over 14 years ago

The way he produced the patch might be faulty, but I can confirm that the generated preview link is in the default language. I tried it with TYPO3 4.2.12 and 4.3.3. Both times the same problem.
The generated Preview is in english but not the extra generated Preview link for Foreigners without BE-Access.

Actions #4

Updated by Constantin Lebrecht over 14 years ago

that patch for 4.3.3 generates Preview-Links for all valid languages on the given page...

Actions #5

Updated by Administrator Admin over 14 years ago

the patch bug_11672.diff works well for us in typo3 4.3.3

Actions #6

Updated by Susanne Moog over 13 years ago

  • Status changed from New to Accepted
  • Target version deleted (0)

I can reproduce this issue with current trunk.

Actions #7

Updated by Sonja Schubert over 13 years ago

  • Assignee set to Steffen Ritter
Actions #8

Updated by Steffen Ritter almost 13 years ago

  • Status changed from Accepted to On Hold
Actions #9

Updated by Stefan Neufeind about 12 years ago

Steffen, was this "on hold" for some certain reason?

Actions #10

Updated by Sascha Egerer about 11 years ago

Any update here? Does the issue still exist?

Actions #11

Updated by Michael Stucki almost 11 years ago

  • Category set to Workspaces
Actions #12

Updated by Michael Stucki almost 11 years ago

  • Project changed from 624 to TYPO3 Core
  • Category changed from Workspaces to Workspaces
Actions #13

Updated by Gerrit Code Review almost 11 years ago

  • Status changed from On Hold 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/26993

Actions #14

Updated by Stefan Rotsch almost 11 years ago

As an attempt to get this issue resolved after over 4 years, I've pushed a possible solution to Gerrit.

Actions #15

Updated by Gerrit Code Review almost 11 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/26993

Actions #16

Updated by Moritz Ahl over 10 years ago

What can I do to get this done?

Actions #17

Updated by Gerrit Code Review almost 10 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/26993

Actions #18

Updated by Mathias Schreiber almost 10 years ago

  • Target version set to 7.5
Actions #19

Updated by Gerrit Code Review over 9 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/26993

Actions #20

Updated by Daniel Goerz over 9 years ago

  • Is Regression set to No
  • Sprint Focus set to On Location Sprint
Actions #21

Updated by Gerrit Code Review over 9 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/26993

Actions #22

Updated by Gerrit Code Review over 9 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/26993

Actions #23

Updated by Gerrit Code Review over 9 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/26993

Actions #24

Updated by Gerrit Code Review over 9 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/26993

Actions #25

Updated by Gerrit Code Review over 9 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/26993

Actions #26

Updated by Stefan Rotsch over 9 years ago

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

Updated by Gerrit Code Review over 9 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42417

Actions #28

Updated by Gerrit Code Review over 9 years ago

Patch set 2 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42417

Actions #29

Updated by Stefan Rotsch over 9 years ago

  • Status changed from Under Review to Resolved
Actions #30

Updated by Anja Leichsenring almost 9 years ago

  • Sprint Focus deleted (On Location Sprint)
Actions #31

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF