Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CiviMail - Fix “Missing parameters” error in unsubscribe confirmation #17081

Merged
merged 1 commit into from
Apr 17, 2020

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Apr 16, 2020

Overview

Fix issue with form values not being available on submit

Possible fix for https://civicrm.stackexchange.com/questions/35323/missing-parameters-error-in-unsubscribe-confirmation

Before

Per https://civicrm.stackexchange.com/questions/35323/missing-parameters-error-in-unsubscribe-confirmation

After

Submit works

Technical Details

The theory is that not having committed the transaction is causing the session not to be saved

Comments

@civibot
Copy link

civibot bot commented Apr 16, 2020

(Standard links)

@civibot civibot bot added the master label Apr 16, 2020
@eileenmcnaughton eileenmcnaughton changed the base branch from master to 5.25 April 16, 2020 01:39
@civibot civibot bot added 5.25 and removed master labels Apr 16, 2020
@eileenmcnaughton eileenmcnaughton changed the title Session Fix unsubscribe regression Apr 16, 2020
@eileenmcnaughton eileenmcnaughton force-pushed the session branch 2 times, most recently from bb3bf85 to b2ca42a Compare April 16, 2020 02:09
Possible fix for https://civicrm.stackexchange.com/questions/35323/missing-parameters-error-in-unsubscribe-confirmation

The theory is that not having committed the transaction is causing the session not to be saved
@eileenmcnaughton
Copy link
Contributor Author

@pradpnayak I saw your SE comment - have you tested this? Just trying to figure out if it can hit the release window

@jitendrapurohit
Copy link
Contributor

Just tested this and confirmed the mailing unsub page is submitted without any errors.

Before -

image

After -

image

Thanks @eileenmcnaughton

@seamuslee001
Copy link
Contributor

Merging as per review from @jitendrapurohit

@seamuslee001 seamuslee001 merged commit 13fde36 into civicrm:5.25 Apr 17, 2020
@seamuslee001 seamuslee001 deleted the session branch April 17, 2020 02:04
@seamuslee001 seamuslee001 mentioned this pull request Apr 17, 2020
@totten totten changed the title Fix unsubscribe regression CiviMail - Fix “Missing parameters” error in unsubscribe confirmation Apr 17, 2020
@artfulrobot
Copy link
Contributor

Note: I'm still seeing the error that this was supposed to fix, having applied the patch to 5.24.3. Not all the time, and annoyingly not when I test it! But seeing quite a few errors. of type described here:

https://civicrm.stackexchange.com/questions/35323/missing-parameters-error-in-unsubscribe-confirmation

I've opened an issue here:
https://lab.civicrm.org/dev/core/-/issues/1773

@eileenmcnaughton
Copy link
Contributor Author

@artfulrobot is it permission dependent?

@artfulrobot
Copy link
Contributor

I've tested anonymously (using same link the person used for whom it crashed) - it works for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants