Project

General

Profile

Actions

Bug #24213

closed

TypoScript: insertData change (#23826) probably causes side-effect

Added by Steffen Gebert over 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2010-11-26
Due date:
% Done:

0%

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

Description

#23826 (stdWrap "insertData" does not work anymore if using "override" additionally) kills my existing TypoScript.

See the (simplified) code below, without this change (aka 4.4), the image contains default.jpg, after (4.5, rev 9195) it's just white.

Don't know, if the TypoScript should never have worked, but just did, or a new bug was introduced.

page.10.marks.HEAD = IMAGE
page.10.marks.HEAD.file = GIFBUILDER
page.10.marks.HEAD.file {
XY = 300, 200
10 = IMAGE
10 {
file {
width = 980 # Prefer image from resources field of (parent) page, if set
import {
cObject = TEXT # Fallback
cObject.value = fileadmin/default.jpg
cObject.override {
required = 1
data = levelmedia:-1,slide
wrap = uploads/media/
listNum = 0
}
}
}
}
}
(issue imported from #M16579)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #23826: stdWrap "insertData" does not work anymore if using "override" additionallyClosed2010-10-22

Actions
Actions #1

Updated by Jo Hasenau over 13 years ago

This modified version of your code works here with beta1 and both, the default fallback and the media image.

So I guess there is something else, that is broken on your server.

page = PAGE
page.10 = IMAGE
page.10.file = GIFBUILDER
page.10.file {
XY = 300, 200
10 = IMAGE
10 {
file {
width = 980 # Prefer image from resources field of (parent) page, if set
import {
cObject = TEXT # Fallback
cObject.value = fileadmin/default.tif
cObject.override {
required = 1
data = levelmedia:-1,slide
wrap = uploads/media/
listNum = 0
}
}
}
}
}

Actions #2

Updated by Jo Hasenau about 13 years ago

Is this bug still valid?

Actions #3

Updated by Steffen Gebert about 13 years ago

I experienced this only on a windows machine at that time, while preparing a training environment. As the site is running perfectly, with 4.5, I assume it was a temporary error..

Actions

Also available in: Atom PDF