Bug #37423

Install tool fails fal conversion, if a file is missing

Added by Kay Strobach 12 months ago.

Status:New Start date:2012-05-23
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:Install Tool
Target version:-
TYPO3 Version:6.0 Complexity:
PHP Version:
Votes: 0

Description

Migrate file relations
TODO add description of FAL migration


Uncaught TYPO3 Exception

t3lib_file_exception_FileDoesNotExistException thrown in file
D:\devenv\mowesII\www\t3-trunk\t3lib\file\Driver\AbstractDriver.php in line 407.

7 t3lib_file_Driver_AbstractDriver::getFile("_migrated/pics/1.png")

D:\devenv\mowesII\www\t3-trunk\t3lib\file\Storage.php:
00861:   */
00862:  public function getFile($identifier) {
00863:   return $this->driver->getFile($identifier);
00864:  }
00865: 

6 t3lib_file_Storage::getFile("_migrated/pics/1.png")

D:\devenv\mowesII\www\t3-trunk\typo3\sysext\install\Classes\Updates\File\TceformsUpdateWizard.php:
00218: 
00219:     // get the File object
00220:    $file = $this->storage->getFile($fieldConfiguration['targetPath'] . $item);
00221: 
00222:    if($file instanceof t3lib_file_File) {

5 Tx_Install_Updates_File_TceformsUpdateWizard::migrateField("tt_content", array, "image", array)

D:\devenv\mowesII\www\t3-trunk\typo3\sysext\install\Classes\Updates\File\TceformsUpdateWizard.php:
00155:     foreach ($records as $record) {
00156:      foreach ($fieldsToMigrate as $field) {
00157:       $dbQueries = array_merge($this->migrateField($table, $record, $field, $tableConfiguration[$field]));
00158:      }
00159:     }

4 Tx_Install_Updates_File_TceformsUpdateWizard::performUpdate(array, "")

D:\devenv\mowesII\www\t3-trunk\typo3\sysext\install\mod\class.tx_install.php:
06655:        $dbQueries = array();
06656:        $databaseQueries = array();
06657:        if ($tmpObj->performUpdate($dbQueries, $customOutput)) {
06658:         $performUpdateMarkers['updateStatus'] = 'Update successful!';
06659:        } else {

3 tx_install::updateWizard_parts("performUpdate")

D:\devenv\mowesII\www\t3-trunk\typo3\sysext\install\mod\class.tx_install.php:
06413:    // call wizard
06414:   $action = ($this->INSTALL['database_type'] ? $this->INSTALL['database_type'] : 'checkForUpdate');
06415:   $this->updateWizard_parts($action);
06416:   $this->output($this->outputWrapper($this->printAll()));
06417:  }

2 tx_install::updateWizard()

D:\devenv\mowesII\www\t3-trunk\typo3\sysext\install\mod\class.tx_install.php:
00494:      $this->checkDatabase();
00495:      $this->silent=0;
00496:      $this->updateWizard();
00497:     break;
00498:     case 'config':

1 tx_install::init()

D:\devenv\mowesII\www\t3-trunk\typo3\install\index.php:
00066: $install_check = t3lib_div::makeInstance('tx_install');
00067: $install_check->allowUpdateLocalConf = 1;
00068: $install_check->init();
00069: ?>


Related issues

related to Core - Bug #37409: Page Module unuseable if resource is missing due to excep... Needs Feedback 2012-05-23

Also available in: Atom PDF