Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Data Model Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

CSV Importer Problems (Double Entries)

Go to End



Community Member, 37 Posts

23 September 2013 at 10:48pm

Edited: 23/09/2013 10:49pm

Hi guys,

I need to import several Products at once. One Product got one ShortNumber, one Name(ArtName) and several colors.
I wrote an importer for this and it works partly.

My problem ist that the importer creates 2 entries for each line. One correct entry with ShortNumber and ArtName and one empty entry. I think the Problem is my second realation callback (Article.ArtName) if I remove this form my Bulkloader everything works fine. But than the Names are missing.

Here is the CSV Bulkloader ->
My Articles Object ->
My ColorObject ->
My ModelAdmin for Import ->

Do someone know a solution?

Thx in advance