Project

General

Profile

Actions

Bug #15434

closed

T3D export doesn't recognize # comments in typoscript

Added by Stefano Cecere almost 19 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2006-01-17
Due date:
% Done:

0%

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

Description

when exporting a template, if there are comments in the typoscript (like "# bla bla bvla"), the t3d export givess "warnings"

shouldn't it ignore commented lines?
i don't know if it does the same using "//"

ciao

(issue imported from #M2296)


Files

Picture 1.png (30.6 KB) Picture 1.png Administrator Admin, 2006-01-19 01:22
Picture 2.png (34.5 KB) Picture 2.png Administrator Admin, 2006-01-19 01:22
template-4b1.png (82.3 KB) template-4b1.png Administrator Admin, 2006-01-19 22:32
error-template-4b1.png (75.7 KB) error-template-4b1.png Administrator Admin, 2006-01-19 22:32
Actions #1

Updated by anoop atre almost 19 years ago

I'm going to look into this and see if I can provide a solution.

Actions #2

Updated by anoop atre almost 19 years ago

Could you please provide screen shots and complete error/warning messages? I can't seem to reproduce this issue.

Actions #3

Updated by Michael Stucki almost 19 years ago

Feedback requested.

Actions #4

Updated by Stefano Cecere almost 19 years ago

ok, i uploaded two screenshots.. one of the two lines in the template.. the other from the export warning

as yo ucan see the line:

#page.shortcutIcon = fileadmin/templates/images/commentedline.ico

generates an error/warning, and i have to manually exclude it..
is it normal/intended to work like it is now, or should commented lines be skipped?

Actions #5

Updated by anoop atre almost 19 years ago

Bug Confirmed:
Checked on a fresh install of typo3 4.0. There is no content in the installation just this template and no extensions installed (except what came with the default 4.0beta1 dummy install)

I used a bare template [see template-4b1.png & error-template-4b1.png] exporting to t3d to test the # and // parsing.

The bug seems to affect only commented lines with references to fileadmin and urls (maybe other things need to check the code in impexp). Bug exists for both // and # commenting.

Note: Bug exists in 3.8.1 also (checked in my semi-production install).

Bug does not show up if you do a export site to t3d (id=0 the globe icon) BUT does when you try to export either the specific template record OR the page containg the template.

Actions #6

Updated by Michael Stucki over 18 years ago

I agree this seems to be a problem, but it is problematic to be solved because the import/exort extension does not parse the TypoScript!

Actions #7

Updated by Stefan Neufeind over 13 years ago

Hmm, still the case? Haven't stumbled over it yet lately.

Actions #8

Updated by Alexander Opitz over 11 years ago

  • Status changed from Accepted to Closed
  • Target version deleted (0)
  • PHP Version deleted (4)

No response over a year => closed.

Actions

Also available in: Atom PDF