When the recipient of a newsletter clicks on the !confirm_unsubscribe_url link twice (or if the e-mail address has already been removed before the link is clicked), Simplenews performs a drupal_not_found(), telling the user the page requested doesn't exist. This confuses or even annoys users who think their unsubscription request is not honored.

The patch attached allows the admin to specify a page to be called in these cases, providing appropriate description of the situation (usually, to calm the user by saying that their address has already been removed). If not specified, it will default to the original behavior, showing the usual not found page.

CommentFileSizeAuthor
simplenews_repeatedunsub.patch1.65 KBdjg_tram
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Simon Georges’s picture

Version: 6.x-1.3 » 6.x-2.x-dev
Status: Active » Needs review

Feature requests are for the 6.x-2.x version.

Simon Georges’s picture

Status: Needs review » Needs work

The patch does not apply on the current 6.x-2.x since the moving of some files.

boabjohn’s picture

Hi guys,
Great to see SN steaming along in the 2.x branch, but the 404 error being thrown now on unsubsccribe confirm is really second rate.
Would it be too troublesome to get this rolled into 2.x-dev?
It looks like the patch is only dealing with two files, is that right?
Thanks and bigs shouts for your efforts.