same contacts come again

drupallogic - October 1, 2009 - 23:25
Project:Drupal Contact List Importer
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:hadsie
Status:active
Description

I import an email address but don't send any invitation. then I import another email address but again first email address's contacts come instead of the second one.

#1

KMC81 - November 12, 2009 - 10:29

I have just the same problem!

Is it a problem with cookies?

It may be related with the warning: touch( ) issue...

#2

hadsie - November 12, 2009 - 15:47

I must have missed this issue from a month back.. anyway, this is definitely a bug in the way it saves the contacts. Will fix it in the next few days.

#3

KMC81 - November 13, 2009 - 12:36

If the contact list is retrieved again you should clean session variables...
unset($_SESSION['dcl_contacts_new']);
unset($_SESSION['dcl_contacts_existing']);

It's needed to emulate the way the cancel button acts because people doesn't click it, just types a new email to process...

Regards.

#4

hadsie - November 18, 2009 - 20:42

Just to clarify...

Are you guys not getting any contacts from the second import? The idea is that you can import from a few different email accounts and then send one message to all of them, instead of having to do each account individually.

I just tested this with two different gmail accounts and it brought in the contacts for both of them.

So when you do the second import, you should have all the contacts from the first import AND the second import.

#5

KMC81 - November 19, 2009 - 08:28

I see...

Yes it works as you say, you should clarify this a bit, so the final user knows what's happening...

#6

hadsie - November 19, 2009 - 16:33
Category:bug report» feature request
Assigned to:Anonymous» hadsie

agreed. probably would be good to have an option in the settings page to allow the site admin to control the behaviour as well.

#7

drupallogic - November 25, 2009 - 00:48

yes, I don't think this is a good idea. it will cause a mess. will be nice if there will be an option.

 
 

Drupal is a registered trademark of Dries Buytaert.