Bug #15434
closedT3D export doesn't recognize # comments in typoscript
0%
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
Updated by anoop atre almost 19 years ago
I'm going to look into this and see if I can provide a solution.
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.
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?
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.
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!
Updated by Stefan Neufeind over 13 years ago
Hmm, still the case? Haven't stumbled over it yet lately.
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.