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.

Data Model Questions

CSV Importer Problems (Double Entries)


Reply

307 Views

Avatar
cSGermany

23 September 2013 at 10:48pm (Last edited: 23 September 2013 10:49pm), Community Member, 37 Posts

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 -> http://www.sspaste.com/paste/show/5240191eb7609
My Articles Object -> http://www.sspaste.com/paste/show/52401ab5c9772
My ColorObject -> http://www.sspaste.com/paste/show/52401ad1a22e7
My ModelAdmin for Import -> http://www.sspaste.com/paste/show/52401ae80069e

Do someone know a solution?

Thx in advance
cSGermany