Bug #70272
closedrequestUpdate on select field using rendermode=tree causes javascript error
100%
Description
If you define a select field as renderMode=Tree and set the field as "requestUpdate" field, a javascript error will break everything because the printed string has unescaped double quotes.
The problem is located in SelectTreeElement::render in line 136 (see screensot)
Suggestion wrap the $onChange variable in addslashes before concatenating the html-string.
Files
Updated by Philipp Wrann about 9 years ago
Can someone update the title?
requestUpdate on select field using rendermode=tree causes javascript error
Dont know how i came up with that title xD
Updated by Philipp Wrann about 9 years ago
- File tca-tree-onchange.png tca-tree-onchange.png added
Forgot the screenshot
Updated by Andreas Kienast about 9 years ago
- Subject changed from RequestUpdate in causes javascript error in Tree to requestUpdate on select field using rendermode=tree causes javascript error
Updated by Andreas Kienast about 9 years ago
- Status changed from New to In Progress
- Sprint Focus set to Remote Sprint
Updated by Andreas Kienast about 9 years ago
- Target version changed from next-patchlevel to 7 LTS
Updated by Gerrit Code Review about 9 years ago
- Status changed from In Progress 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 http://review.typo3.org/43697
Updated by Gerrit Code Review about 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43697
Updated by Gerrit Code Review about 9 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/43697
Updated by Gerrit Code Review about 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/43697
Updated by Andreas Fernandez about 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 84edee6b1c40971d0f68fc9579ddae6f7927d8fe.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed