Project

General

Profile

Actions

Bug #37423

closed

Install tool fails fal conversion, if a file is missing

Added by Kay Strobach almost 12 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2012-05-23
Due date:
% Done:

0%

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

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 2 (0 open2 closed)

Related to TYPO3 Core - Bug #37409: Page Module unuseable if resource is missing due to exceptionClosed2012-05-23

Actions
Related to TYPO3 Core - Task #49162: Rewrite install toolClosed2011-10-30

Actions
Actions

Also available in: Atom PDF