Bug #14821
closed
No import of images from .t3d 3.7.0/3.7.1 -> 3.8.0
Added by Christian Ducrot over 19 years ago.
Updated over 13 years ago.
Description
When exporting a pagetree from 3.7.0 or 3.7.1 and import it into 3.8.0 no images are saved into the uploads folder. The preview looks OK. All images are there. As soon as the tree is imported all images are gone and they are not saved to the server. Manually adding pictures to content-elements worked perfectly. Just importing via t3d doesn't work. Exporting a tree from 3.8.0 and reimporting it worked as expected.
Tested on Windows, Mac OS-X and Linux Webservers.
(issue imported from #M1201)
Files
The template parts of 'Include basis template:' are not included, too.
Replacing $this->alternativeFileName[$tmpFile] = $fI['filename']; to $this->alternativeFileName[$tmpFile] = $fI['fieldvalue']; in function import_addFileNameToBeCopied (file sysext/impexp/class.tx_impexp.php solved this for me, but I dont know if it's correct....
Hi a3x,
did you change the code of the exporting installation or the importing installation?
Greets,
Sebastian
It hast to be changed in the importing installation.
For me it worked.
I changed the line back to the original value after successfull import. just to be sure! ;)
I added a patch which switches between "filename" and "fieldvalue" if filename is not set. I have implemented this in the import.
It's not tested, just a patch based on the the reports here.
Greets,
Thomas
Could somebody please test the patch and post the results here? would be great!
Sebastian
Could we maybe close this? I expect that only concerned 3.x and that's ages ago.
- Status changed from Needs Feedback to Closed
- Assignee set to Chris topher
- Target version deleted (
0)
- TYPO3 Version changed from 3.8.0 to 3.7
- PHP Version deleted (
4)
Yes, I guess noone will be able to test/reproduce that nowadays.
Also available in: Atom
PDF