Bug #37423

Install tool fails fal conversion, if a file is missing

Added by Kay Strobach about 3 years ago. Updated over 1 year ago.

Status:Closed Start date:2012-05-23
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:Install Tool Spent time: -
Target version:-
TYPO3 Version:6.0 Is Regression:No
PHP Version: Sprint Focus:
Complexity:

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 - Task #49162: Rewrite install tool Resolved 2011-10-30
related to Core - Bug #37409: Page Module unuseable if resource is missing due to excep... Closed 2012-05-23

History

#1 Updated by Wouter Wolters about 2 years ago

  • Status changed from New to Needs Feedback

There have been alot of improvements in this area sinde T3DD13. Is a current version of TYPO3 still failing?

#2 Updated by Alexander Opitz over 1 year ago

  • Status changed from Needs Feedback to Closed
  • Is Regression set to No

No feedback within the last 90 days => closing this ticket.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Also available in: Atom PDF