Bug #65809
closedAutocompletion fails in TypoScript-Editor
0%
Description
Because of the bugfix #25594 the autocompletion of typoscript-code fails, when I try to create new Objects.
For example, when I create a new TEXT-Object like this:
lib.field_test = TEXT lib.field_test { value = This is a test }
The section after the first "lib." will be interpreted wrong:
Before the bugfix #25594 this worked correctly (see Screenshot 2) and when I remove the line 2603:
ch == "." ||
in typo3/sysext/t3editor/res/jslib/parse_typoscript/tokenizetyposcript.js, the problem is solved.
Files
Updated by Markus Klein over 9 years ago
- Status changed from New to Accepted
- Assignee changed from Markus Klein to Benni Mack
Updated by Xavier Perseguers over 9 years ago
- Target version changed from next-patchlevel to 6.2.12
- Sprint Focus set to Stabilization Sprint
Updated by Xavier Perseguers over 9 years ago
- File Screenshot.png Screenshot.png added
- Description updated (diff)
Updated by Xavier Perseguers over 9 years ago
- Status changed from Accepted to Needs Feedback
Hi Philipp, I wrongly removed screenshots thinking there were same. As such I remember one did not have proper indentation but don't understand how to reproduce. Could you please either describe again the problem with screenshots (make sure NOT to include spaces within filename since one cannot embed them using !filename.png!
syntax) or using just pre
tags.
Is problem in 6.2 solely or in master as well?
Updated by Xavier Perseguers over 9 years ago
- Target version changed from 6.2.12 to next-patchlevel
- Sprint Focus deleted (
Stabilization Sprint)
not yet ready, postponed
Updated by Philipp Müller over 9 years ago
- File screenshot1.png screenshot1.png added
- File screenshot2.png screenshot2.png added
Hi Xavier
Thank you for your response. The problem still exist in TYPO3 6.2.12.
You can reproduce it like this:- Create new a file, for example "fileadmin/test.ts"
- Open it with t3editor*
- Write the test-code (do not copy&paste it from here)
// Test-Code lib.field_test = TEXT lib.field_test { value = This is a test }
Wrong:
Okay:
PS: *You must add ".ts" in textfile_ext in TYPO3_CONF_VARS to edit ts-files:
$TYPO3_CONF_VARS['SYS']['textfile_ext'] = 'ts,txt,html,htm,css,tmpl,js,sql,xml,csv,php,php3,php4,php5,php6,phpsh,inc,phtml';
Updated by Bernd Wilke over 9 years ago
you can test it also with a simple typoscript-template record, editing the setup:
lib.mytest = COA lib.mytest { // indention not recognized 10 = TEXT 10 { // indention recognized value = dummy } 20 = TEXT 20.value = dummy2 20.stdWrap { // indention not recognized wrap = (|) } }marking all and pressing the tab key will result in all lines starting at the beginning (no indention) except the two lines inside 10
Updated by Christian Kuhn over 9 years ago
- Sprint Focus set to Stabilization Sprint
Updated by Mathias Schreiber over 9 years ago
- Target version changed from next-patchlevel to 6.2.13
Updated by Markus Klein over 9 years ago
- Status changed from Needs Feedback to Accepted
Updated by Mathias Schreiber over 9 years ago
- Sprint Focus deleted (
Stabilization Sprint)
Updated by Alexander Opitz over 9 years ago
- Target version changed from 6.2.13 to 6.2.14
Updated by Alexander Opitz over 9 years ago
- Target version changed from 6.2.14 to 6.2.15
- Sprint Focus set to Stabilization Sprint
As it is marked as regression and already was on stab board, I'll readd it there for 6.2.15
Updated by Alexander Opitz about 9 years ago
- Target version changed from 6.2.15 to 6.2.16
Updated by Markus Klein almost 9 years ago
- Target version changed from 6.2.16 to Candidate for patchlevel
Please re-schedule for the next release once available.
Updated by Riccardo De Contardi over 7 years ago
- Related to Task #81885: Remove TypoScript syntax highlighting and code completion added
Updated by Riccardo De Contardi over 7 years ago
- Status changed from Accepted to Closed
- Target version deleted (
Candidate for patchlevel)
Considering the issue #81885, I close this one for now.
Custom adoptions to codemirror is getting dropped in version 9 and no further changes will be done for TYPO3 CMS 7.x & TYPO3 CMS 8.x.
If this decision is wrong, please reopen or let me know and I will do.