[TYPO3-mvc] Import Script Problems

Franz Koch typo3.RemoveForMessage at elements-net.de
Wed Jun 16 15:40:02 CEST 2010


Hey Steffen,

> I'm currently on an importscript.
> I have several options, which in old extension just have been numbers in
> of a select field and in new extbase variant there it is an object with
> an own table.
> I have an array oldSelectValue => UidOfTheNewObject
>
> it is about 20 tables with more then hundred of options.
>
> is there any change doing sth. other then:
> $property->setLocationType($this->propertyLocationTypes->findOneByUid($locationTypes[$propRow['locationtype']]));
>
>
> where $locationTypes is the mentioned array...
> It's a, a big overhead since i do not need the object to build the
> relation (spoken in db means)
> b, I need plenty of repositories instanciated

how did you solve it in the end? I'm currently also in need of a import 
script and I'm not sure if I should do it the "Extbase way" using 
objects and a lot of SQL overhead or just good old PHP/SQL.

-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list