skolakan / npsp

Automatically exported from code.google.com/p/npsp
0 stars 0 forks source link

Problems with upload 3 emails for one contact at once #360

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start import tool like data loader, talend (i was using talend) - use bulk 
api
2. Import a contact with 3 emails - work, personal, alternative, fill in "Work" 
in preferred_email (i uploaded 1000 contacts)
3. After upload contact will have no work email and email field will contain 
personal email

Untrivia way

1. Start import tool like data loader, talend (i was using talend) - use bulk 
api
2. Import a contact with 3 emails - Email, personal, alternative, fill in 
"Work" in preferred_email. Leave work email empty
3. After upload you wont find 20% of your contacts

What is the expected output? What do you see instead?

What version of the packages are you using?
2.1.4.

Please provide any additional information below.

Seems like code was written by pregnant penguin suffering from cognitive 
dissonance.

Original issue reported on code.google.com by serguey....@gmail.com on 23 Sep 2013 at 6:35

GoogleCodeExporter commented 8 years ago
That would be funny if it made any sense.  Good word choice though.

Think like a pregnant penguin, set your Primary Email field to a value that 
actually exists during import, and find your dissonance resolved, along with 
20% of your Contacts. 

Alternately, turn off the "code" by deactivating the workflow rule that 
actually drives the behavior, and you can set your fields to whatever you'd 
like. 

Original comment by kbro...@gmail.com on 24 Sep 2013 at 4:33

GoogleCodeExporter commented 8 years ago
thanks a lot.
never mind a penguin that was a joke.
that would be great if script had thrown error or written some comments instead 
of silently clearing user's data.

Original comment by serguey....@gmail.com on 25 Sep 2013 at 1:15