Project

General

Profile

Actions

Bug #88262

closed

t3Editor: JS Crash "VM3084 typoscript.js:1193 Uncaught TypeError: Cannot read property 'lex' of null"

Added by Sven Juergens about 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-05-03
Due date:
% Done:

100%

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

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

t3EditorJsFehler.mp4 (398 KB) t3EditorJsFehler.mp4 Sven Juergens, 2019-05-03 13:00

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #85346: Typoscript Editor not showing entries from line about 670Closed2018-06-22

Actions
Actions #1

Updated by Riccardo De Contardi almost 5 years ago

  • Related to Bug #85346: Typoscript Editor not showing entries from line about 670 added
Actions #2

Updated by Riccardo De Contardi almost 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() 
)
Actions #3

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

Actions #4

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

Actions #5

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

Actions #6

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

Actions #7

Updated by Andreas Fernandez almost 5 years ago

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

Updated by Benni Mack over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF