Project

General

Profile

Actions

Bug #76426

closed

Wrong quoted js link for list up/down

Added by Michael Dawart almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2016-06-01
Due date:
% Done:

0%

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

Description

Up/down links have an error in quotation for target url

[..] return jumpToUrl(''\/typo3 [..] =-27\u0026redirect='+T3_THIS_LOCATION');

I think first and last ' are too much.

Example from generated HTML

<a class="btn btn-default" href="#" onclick="return jumpToUrl(''\/typo3\/index.php?route=%2Frecord%2Fcommit\u0026token=cdb8a5189735fb95e331ce6e5fbb145f0bdcf8ba\u0026prErr=1\u0026uPT=1\u0026vC=a82a739d7b\u0026cmd[tx_kequestionnaire_domain_model_answer][25][move]=-27\u0026redirect='+T3_THIS_LOCATION');" title="" data-original-title="Nach unten verschieben"><span class="t3-icon t3-icon-actions t3-icon-actions-move t3-icon-move-down"> </span></a>

Tried to find the error in typo3/sysext/recordlist/Classes/RecordList.php lines 1501ff or typo3/sysext/backend/Classes/Utility/BackendUtility.php: getLinkToDataHandlerAction but was not successfull.

Actions #1

Updated by Wouter Wolters almost 8 years ago

  • Status changed from New to Needs Feedback

Which exact version do you use? I can't find the wrong quotes usage in 7 and 8..

Actions #2

Updated by Michael Dawart almost 8 years ago

Got the problem both in 7.5.0 and 7.6.9

Actions #3

Updated by Michael Dawart almost 8 years ago

Seems only to apply to up / down and jumpToUrl Calls. Other Options e.g. window.location.href= for edit or jumpExt are quoted correctly

Actions #4

Updated by Wouter Wolters almost 8 years ago

Sorry I can't reproduce this on my machine.

Actions #5

Updated by Michael Dawart almost 8 years ago

Found out that this is a problem in the extension gridelements https://forge.typo3.org/projects/extension-gridelements2 , that was solved with one of the last updates, so this issue could be closed

Actions #6

Updated by Riccardo De Contardi almost 8 years ago

  • Status changed from Needs Feedback to Closed

Closed. Thank you for your time and findings.

Actions

Also available in: Atom PDF