Bug #76426
closedWrong quoted js link for list up/down
0%
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.
Updated by Wouter Wolters over 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..
Updated by Michael Dawart over 8 years ago
Got the problem both in 7.5.0 and 7.6.9
Updated by Michael Dawart over 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
Updated by Wouter Wolters over 8 years ago
Sorry I can't reproduce this on my machine.
Updated by Michael Dawart over 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
Updated by Riccardo De Contardi over 8 years ago
- Status changed from Needs Feedback to Closed
Closed. Thank you for your time and findings.