Project

General

Profile

Actions

Bug #16830

closed

Comment in TYPOSCRIPT can prevent T3 from rendering template

Added by Andreas Balzer almost 18 years ago. Updated over 11 years ago.

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

0%

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

Description

If you create a template with the following code and include it into an other template, T3 might stop rendering all your templates which are linked or link to this template in any way. I guess something's wrong with the CSS comments /* */

{$constantsetempty}temp.css.300 = TEXT
{$constantsetempty}temp.css.300.value (
#CssRule {
 position:relative;
/* padding-bottom:999999px;
 margin-bottom:-999999px;*/
}
)

(issue imported from #M4738)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #16681: C style TypoScript comments with start and end in one line lead to errorsClosed2006-11-01

Actions
Actions #1

Updated by Andreas Balzer about 17 years ago

will this bug get fixed?

Actions #2

Updated by Alexander Opitz over 11 years ago

  • Category deleted (Communication)
  • Status changed from New to Needs Feedback
  • Target version deleted (0)
  • PHP Version deleted (4)

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #3

Updated by Chris topher over 11 years ago

http://docs.typo3.org/typo3cms/TyposcriptSyntaxReference/Syntax/TypoScriptSyntax/Index.html is the relevant documentation.

The opening CSS comment obviously is treated as a TypoScript comment. This comment is not closed (no "*/" at the start of a new line), so the complete rest of your template is treated as a comment.

The question is:
Should TypoScript do any parsing inside a multiline value? Parsing might be useful for replacing constants.

Actions #4

Updated by Alexander Opitz over 11 years ago

  • Status changed from Needs Feedback to Closed

No bug as documented.

Actions

Also available in: Atom PDF