Bug #17079
closed
Wrong path for images in repetitive content elements
Added by Florian Busch (floxx) over 17 years ago.
Updated over 13 years ago.
Description
If i create an repetitive fce with an image, the wrong path to the image is being set.
In database there's the absolute path to an image already saved. If i insert image in fce in backend, the path is constructed like this:
/customers/customer.de/frontend/htdocs/uploads/tx_templavoila//customers/customer.de/frontend/htdocs/fileadmin/contents/dummy_images/a2.jpg
and an error is thrown: (errno=2 - No such file or directory) in /customers/customer.de/frontend/typo3_src-4.0.5/t3lib/class.t3lib_befunc.php on line 1605
(issue imported from #M5132)
Files
ds.xml (10.7 KB)
ds.xml |
|
Administrator Admin, 2007-03-05 16:45
|
|
Same problem with TYPO3 4.1.3 and Templavoila 1.3.1
Confirmed on TYPO3 4.1.2 and TV 1.3.3
Confirmed in TYPO3 4.1.5 and TV 1.3.3.
The problem does not appear in TYPO3 4.1 and TV 1.3.0.
It seems that isn't releated to templavoila but to
changes made in class.t3lib_tcemain.php from TYPO3 ver. > 4.1.1
inside method checkValue_flex_procInData_travDS.
Here are differences from 4.1.1 and 4.1.x:
@ -2130,7 +2138,11
@
if ($DSelements[$key]['section']) {
foreach($dataValues[$key]['el'] as $ik => $el) {
$theKey = key($el);
- if (is_array($dataValues[$key]['el'][$ik][$theKey]['el'])) {
// It may happen that an element exists in $dataValues but is missing in $dataValues_current. In this case, just skip the element..
.
+ $elExists = is_array($dataValues_current[$key]['el'][$ik]);
if ($elExists && is_array($dataValues[$key]['el'][$ik][$theKey]['el'])) {
...Obviously IMHO
Confirm that this is still an issue with 4.2.8 and templavoila 1.37
A FCE which has a section which contains an image element does not work correctly, debugging the checkValue_flex_procInData_travDS method the values are present in the dataValues_current array but not handled correctly.
I'm sponsoring this fix at 100Euro to correct this issue.
Thanks in advance
I can't reproduce this ... why would oyu even place an image within the section itself? The image should sit inside a container which is part of the section ... could someone check wether this issue is still relevant?
Btw - Flexformhandling is not a TemplaVoila issue - that's a Core issue
Ok this issue doesn't exist with 4.3.2 and templavoila 1.5.0 so for me the issue is closed.
Also available in: Atom
PDF