Closed (fixed)
Project:
Simplenews
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Jan 2012 at 14:29 UTC
Updated:
22 Feb 2012 at 04:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
RoseEuphoria commentedI've got the same problem. When a user who is already subscribed, wants to subscribe again, he gets the "normal" subscription confirmation mail. AND the user gets unsubscribed (disappears in the subscription list). He has to click the confirmationlink and subscribe again.
Comment #2
Anonymous (not verified) commentedI can confirm this issue for the current dev as well as the 7.x-1.0-beta1 release. It works fine in 7.x-1.0-alpha2.
Comment #3
berdirConfirmed and fixed with the attached patch including test coverage.
The problem was that we started tracking unconfirmed subscriptions but we always created/updated the subscription to unconfirmed even if the subscriber was already subscribed. So he actually *wasn't* subscribed anymore :)
Comment #4
berdirCommited and pushed.
Comment #5
miro_dietiker:) like
BUT ;-)
Please fix indentation:
Anyway, the function simplenews_user_subscribe should return different values if it succeed or not (was already...) or even need mail confirmation.