Project

General

Profile

Actions

Bug #14821

closed

No import of images from .t3d 3.7.0/3.7.1 -> 3.8.0

Added by Christian Ducrot almost 19 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2005-06-15
Due date:
% Done:

0%

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

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

class.tx_impexp.php.patch (870 Bytes) class.tx_impexp.php.patch Administrator Admin, 2005-11-06 12:21
Actions #1

Updated by Franz Holzinger over 18 years ago

The template parts of 'Include basis template:' are not included, too.

Actions #2

Updated by Alexander Fleischer over 18 years ago

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....

Actions #3

Updated by Sebastian Kurfuerst over 18 years ago

Hi a3x,
did you change the code of the exporting installation or the importing installation?
Greets,
Sebastian

Actions #4

Updated by Clemens Riccabona over 18 years ago

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! ;)

Actions #5

Updated by Thomas Hempel over 18 years ago

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

Actions #6

Updated by Sebastian Kurfuerst over 18 years ago

Could somebody please test the patch and post the results here? would be great!

Sebastian

Actions #7

Updated by Alexander Fleischer almost 18 years ago

Patch works for me

Actions #8

Updated by Stefan Neufeind almost 13 years ago

Could we maybe close this? I expect that only concerned 3.x and that's ages ago.

Actions #9

Updated by Chris topher almost 13 years 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.

Actions

Also available in: Atom PDF