Active
Project:
Constant Contact
Version:
7.x-3.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
30 Sep 2011 at 23:27 UTC
Updated:
8 Jul 2015 at 22:45 UTC
Jump to comment: Most recent, Most recent file
This is the first time I am using this module. Setup looks very simple. The issue that I am encountering is that after a successful or failed submission of an email the browser is redirected to the home page and the Constant contact message is displayed. I have left the redirect field in the setup form blank and would expect that the page where the form is located at would display the message.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | constant_contact-fix-redirect-1296394-5.patch | 623 bytes | altrugon |
Comments
Comment #1
justphp commentedI'll look into fixing this in the next release.
Comment #2
justphp commentedFixed, will be available to download later today.
Comment #3
johnpicozziI seem to be having this problem with the D7 version.
Comment #4
svipsa commentedProblem with redirect because when $redirect_to is empty
redirect form to homepage.
fast solution: write own submit function and:
Comment #5
altrugon commentedFrom drupal_redirect_form documentation:
This patch assign a value to $form_state only if it is not empty.
Comment #6
altrugon commentedI have re-open this issue because the version has been changed to 7.x and the bug still exists. The patch that I have attached on my previous comment fix the problem.
Please review and integrate it into a new release if the output is positive.
Thanks.
Comment #7
flyke commentedConfirmed that Constant Contact version 7.x-3.6 still redirects to the homepage after submit, and that patch #5 is working so you stay on the same page after submit.
Comment #8
anthony0perez commentedPatch number 5 doesn't work if you need it in a pop up. When it refreshes it doesn't have error or success codes. Is that then intended outcome?