Duplicates getting through when importing per line
Hey,
Looks like the option for importing: "Add name and email per line" , allows duplicates.
I found another thread where you mention the remove-duplicates page, so no biggie. But I'm assuming this is a bug.
Thanks,
Dan Brooks
Looks like the option for importing: "Add name and email per line" , allows duplicates.
I found another thread where you mention the remove-duplicates page, so no biggie. But I'm assuming this is a bug.
Thanks,
Dan Brooks
This discussion has been closed.
Comments
Do you mean import "per line"? The last time I tested, it doesn't import duplicate though.
I just tested again to confirm. I imported these lines to a new list:
test1,test1@test.com
test2,test2@test.com
test3,test3@test.com
I then added these lines again to the same list but it does not import them again. Hence, no duplicates are going through.
@danbrooks @derivativemedia Perhaps you can PM me a sample of the lines you've previously imported that allowed duplicates to go through?
Thanks!
Ben
Have figured out what's going on, it happens when there are extra spaces around the email.
In subscribers/line-update.php, it's doing the duplicate lookup before the trim()'s which happen later. I've added this to line 38, fixes things up:
$email = trim($email);
- Dan
Thanks, it works!
The latest version 1.1.4 has been released addressing this issue.