To the best of my knowlege, I could not find a answer that applies to my situation, so here it goes:
I am using the feeds import to add a series of roughly 6500 employees as nodes (not preferred solution, I know... Blame my project manager).
I am importing a XML:
<OS2> <Persons> <Person> <Brugernavn>UsernameFromExternalSource</Brugernavn> **<<-- Never Empty, but also not unique** <Navn>RealName</Navn> **<<-- Never Empty, but is not unique. Serves as node title** <Stilling></Stilling> **<<-- Can be empty** <Telefon></Telefon> **<<-- Can be empty** <Mobil></Mobil> **<<-- Can be empty** <Afdeling></Afdeling /> **<<-- Can be empty, usually is not. Inserts into Taxonomy** <Email>firstname.lastname@example.org<Email /> **<<-- GUID as it is the only one that will always be unique** <Kompetencer></Kompetencer> **<<-- Can be empty** <Opgaver></Opgaver> **<<-- Can be empty** </Person> </persons> </OS2>
I've mapped the items with the proper Xpath, but when I run the import, all the items are being imported properly, but sometimes, very randomly, some items are being imported twice as seperate nodes (meaning I will have /employee/name and /employee/name-0 )
I checked the feeds_item table, and there are several instances of the guid column, as well as the hash, having the same value twice, wich as I understand it, should'n happen.
I am at a loss, and I've tried to convice the people who have the final say to let me use alternatives, but that is sadly out of the question, as well as getting the XML altered to have it's own numeric unique-ID.
Futher data that might help:
- I recive no error messages in the apache log, or the Drupal log
- As far as I can tell, all elements are being imported properly, in some cases with said duplicates
- The server does not timeout, and has 8GB of ram assigned to handle the import
Does anyone have an idea of what is going wrong?
Thanks in Advance.