Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Uncaught TYPO3 Exception
- #1321023156: uid property is already set. Cannot merge index record. (More information)
- InvalidArgumentException thrown in file
- /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/core/Classes/Resource/File.php in line 221.
- 8 TYPO3\CMS\Core\Resource\File::mergeIndexRecord(array)
- /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/core/Classes/Resource/File.php:
- 00189: // the IndexerService is not used at this place since, its not about additional MetaData anymore
- 00190: $indexRecord = $this->getIndexerService()->indexFile($this, FALSE);
- 00191: $this->mergeIndexRecord($indexRecord);
- 00192: $this->indexed = TRUE;
- 00193: $this->loadMetaData();
- 7 TYPO3\CMS\Core\Resource\File::loadIndexRecord()
- /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/core/Classes/Resource/File.php:
- 00104: public function getProperty($key) {
- 00105: if ($this->indexed === NULL) {
- 00106: $this->loadIndexRecord();
- 00107: }
- 00108: if (parent::hasProperty($key)) {
- 6 TYPO3\CMS\Core\Resource\File::getProperty("uid")
- /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/core/Classes/Resource/AbstractFile.php:
- 00204: */
- 00205: public function getUid() {
- 00206: return $this->getProperty('uid');
- 00207: }
- 00208:
- 5 TYPO3\CMS\Core\Resource\AbstractFile::getUid()
- /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/impexp/Classes/ImportExport.php:
- 01554: $refIds[] = $refId;
- 01555: $updateData['sys_file_reference'][$refId] = array(
- 01556: 'uid_local' => $fileObject->getUid(),
- 01557: 'uid_foreign' => $thisNewUid, // uid of your content record
- 01558: 'tablenames' => $table,
- 4 TYPO3\CMS\Impexp\ImportExport::setRelations()
- /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/impexp/Classes/ImportExport.php:
- 01150: // Finally all the file and DB record references must be fixed. This is done after all records have supposedly been written to database:
- 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.
- 01152: $this->setRelations();
- 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):
- 01154: $this->setFlexFormRelations();
- 3 TYPO3\CMS\Impexp\ImportExport::importData(1)
- /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/impexp/Classes/Controller/ImportExportController.php:
- 00894: if ($inData['import_file']) {
- 00895: if (!count($extKeysToInstall)) {
- 00896: $import->importData($this->id);
- 00897: BackendUtility::setUpdateSignal('updatePageTree');
- 00898: } else {
- 2 TYPO3\CMS\Impexp\Controller\ImportExportController::importData(array)
- /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/impexp/Classes/Controller/ImportExportController.php:
- 00096: }
- 00097: // Call import interface:
- 00098: $this->importData($inData);
- 00099: break;
- 00100: }
- 1 TYPO3\CMS\Impexp\Controller\ImportExportController::main()
- /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/impexp/app/index.php:
- 00075: $SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Impexp\\Controller\\ImportExportController');
- 00076: $SOBE->init();
- 00077: $SOBE->main();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement