Active
Project:
Simplenews
Version:
7.x-1.0-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Feb 2011 at 18:57 UTC
Updated:
27 Feb 2016 at 05:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
simon georges commentedI suspect it's the same issue as #1074784: Uniformisation of behaviour during subscription removal.
Comment #2
czigor commented#1074784: Uniformisation of behaviour during subscription removal is only for the case when no confirmation page is set. I do not have redirection even if there is a confirmation page set at admin/config/simplenews/subscription.
Comment #3
2xe commentedSame problem here. Confirmation page is set, but when clicking the confirmation link in the e-mail, the front page is used instead.
--
edit:
Checked out the code, and on line 128 in simplenews.subscription.inc there is a test for empty($arguments). The subscription callback does never pass on any arguments, so the confirmation removal and add forms will always display.
I changed the test to (!empty($arguments)) which will work for me (short term) and it then produces the expected behavior, redirecting to the correct page.
Comment #4
mordonez commentedI attach a patch that fixes both redirects to frontpage or custom page
Comment #5
mordonez commentedI attach a patch that fixes both redirects to frontpage or custom page
Comment #6
mordonez commentedI fix the path name
Comment #7
simon georges commentedChanging status, so I think about reviewing it.
Comment #8
miro_dietikerpushing this a little to my radar.
Comment #9
Anonymous (not verified) commentedLet's see what the maintainer thinks. Thanks mordonez!
Comment #10
luluthegeek commentedPatch #6 worked for me. Thanks !
Comment #11
turco commentedPatch #6 worked for me too. Thank you
Comment #12
simon georges commentedRemoving tags. And affecting the issue to me so that I think of it during my next sprint.
Comment #13
simon georges commentedCommitted, attributed to mordonez.
Thanks, everybody !
Comment #15
ArtActivator.com commentedSubscription from block does not redirect to page set in config.
I saw that there no such code in function block_submit
Comment #17
drummondf commentedAlso experiencing this issue with block subscription, although path is provided it is not redirecting