Bug #88262
closedt3Editor: JS Crash "VM3084 typoscript.js:1193 Uncaught TypeError: Cannot read property 'lex' of null"
100%
Description
hi,
i get t3Editor/CodeMirror crash if i type in this in a sys_template
lib.foo = TEXT lib.foo.value( function() function() )
see attached file.
if you copy and paste this in a sys_tempalte and save the record. you can't access the content anymore.
Files
Updated by Riccardo De Contardi over 5 years ago
- Related to Bug #85346: Typoscript Editor not showing entries from line about 670 added
Updated by Riccardo De Contardi over 5 years ago
I think that #85346 could be considered the same error; I report here my findings, that I wrote also there:
The error triggers when you write for example:
page.headerData.20 = TEXT page.headerData.20.value ( function() something function() )
or
page.headerData.20 = TEXT page.headerData.20.value ( something something() something function() )
but on both cases only at the second "function()
" and only when you write the "()
"
It does not occur with:
page.headerData.20 = TEXT page.headerData.20.value ( something() something function() )
Updated by Gerrit Code Review over 5 years ago
- Status changed from New 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/c/Packages/TYPO3.CMS/+/60900
Updated by Gerrit Code Review over 5 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/c/Packages/TYPO3.CMS/+/60900
Updated by Gerrit Code Review over 5 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60900
Updated by Gerrit Code Review over 5 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61053
Updated by Andreas Fernandez over 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 9441ed246dddb8f477d461d618f3f313c3fe583d.