SHARE
TWEET

Untitled

a guest Nov 2nd, 2013 170 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Uncaught TYPO3 Exception
  2. #1321023156: uid property is already set. Cannot merge index record. (More information)
  3.  
  4. InvalidArgumentException thrown in file
  5. /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/core/Classes/Resource/File.php in line 221.
  6.  
  7. 8 TYPO3\CMS\Core\Resource\File::mergeIndexRecord(array)
  8.  
  9.  
  10. /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/core/Classes/Resource/File.php:
  11.  
  12. 00189:    // the IndexerService is not used at this place since, its not about additional MetaData anymore
  13. 00190:    $indexRecord = $this->getIndexerService()->indexFile($this, FALSE);
  14.  
  15. 00191:    $this->mergeIndexRecord($indexRecord);
  16.  
  17. 00192:    $this->indexed = TRUE;
  18. 00193:    $this->loadMetaData();
  19.  
  20.  
  21. 7 TYPO3\CMS\Core\Resource\File::loadIndexRecord()
  22.  
  23.  
  24. /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/core/Classes/Resource/File.php:
  25.  
  26. 00104:  public function getProperty($key) {
  27. 00105:   if ($this->indexed === NULL) {
  28.  
  29. 00106:    $this->loadIndexRecord();
  30.  
  31. 00107:   }
  32. 00108:   if (parent::hasProperty($key)) {
  33.  
  34.  
  35. 6 TYPO3\CMS\Core\Resource\File::getProperty("uid")
  36.  
  37.  
  38. /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/core/Classes/Resource/AbstractFile.php:
  39.  
  40. 00204:   */
  41. 00205:  public function getUid() {
  42.  
  43. 00206:   return $this->getProperty('uid');
  44.  
  45. 00207:  }
  46. 00208:
  47.  
  48.  
  49. 5 TYPO3\CMS\Core\Resource\AbstractFile::getUid()
  50.  
  51.  
  52. /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/impexp/Classes/ImportExport.php:
  53.  
  54. 01554:            $refIds[] = $refId;
  55. 01555:            $updateData['sys_file_reference'][$refId] = array(
  56.  
  57. 01556:             'uid_local' => $fileObject->getUid(),
  58.  
  59. 01557:             'uid_foreign' => $thisNewUid, // uid of your content record
  60. 01558:             'tablenames' => $table,
  61.  
  62.  
  63. 4 TYPO3\CMS\Impexp\ImportExport::setRelations()
  64.  
  65.  
  66. /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/impexp/Classes/ImportExport.php:
  67.  
  68. 01150:   // Finally all the file and DB record references must be fixed. This is done after all records have supposedly been written to database:
  69. 01151:   // $this->import_mapId will indicate two things: 1) that a record WAS written to db and 2) that it has got a new id-number.
  70.  
  71. 01152:   $this->setRelations();
  72.  
  73. 01153:   // And when all DB relations are in place, we can fix file and DB relations in flexform fields (since data structures often depends on relations to a DS record):
  74. 01154:   $this->setFlexFormRelations();
  75.  
  76.  
  77. 3 TYPO3\CMS\Impexp\ImportExport::importData(1)
  78.  
  79.  
  80. /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/impexp/Classes/Controller/ImportExportController.php:
  81.  
  82. 00894:      if ($inData['import_file']) {
  83. 00895:       if (!count($extKeysToInstall)) {
  84.  
  85. 00896:        $import->importData($this->id);
  86.  
  87. 00897:        BackendUtility::setUpdateSignal('updatePageTree');
  88. 00898:       } else {
  89.  
  90.  
  91. 2 TYPO3\CMS\Impexp\Controller\ImportExportController::importData(array)
  92.  
  93.  
  94. /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/impexp/Classes/Controller/ImportExportController.php:
  95.  
  96. 00096:     }
  97. 00097:     // Call import interface:
  98.  
  99. 00098:     $this->importData($inData);
  100.  
  101. 00099:     break;
  102. 00100:   }
  103.  
  104.  
  105. 1 TYPO3\CMS\Impexp\Controller\ImportExportController::main()
  106.  
  107.  
  108. /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/impexp/app/index.php:
  109.  
  110. 00075: $SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Impexp\\Controller\\ImportExportController');
  111. 00076: $SOBE->init();
  112.  
  113. 00077: $SOBE->main();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top