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

Don't repeat email twice on the contribution confirm/thank-you pages #24564

Merged
merged 1 commit into from
Oct 4, 2022

Conversation

MegaphoneJon
Copy link
Contributor

Overview

https://lab.civicrm.org/dev/core/-/issues/3858
If you have a profile on your contribution page that includes an email field, the email appears twice on the Confirmation and Thank-You pages.

Reproduction steps in Gitlab.

Before

Selection_1638

After

Selection_1637

Technical Details

The template currently checks for the existence of the $email template variable - but there should no longer be any scenario in which that variable isn't populated.

Comments

When an email field is present in a profile, we correctly hide the email field from the main contribution page. This extends that behavior to the confirmation and thank-you.

@civibot civibot bot added the master label Sep 19, 2022
@civibot
Copy link

civibot bot commented Sep 19, 2022

(Standard links)

@rennieh
Copy link

rennieh commented Sep 20, 2022

@alifrumin and I are reviewing this pull request.

@rennieh
Copy link

rennieh commented Sep 20, 2022

We were able to recreate this bug. We tested this pull request on the Jenkins build and it fixes the bug. On the Jenkins build, when viewing a contribution page, there is a big red error that may or may not be related.
image

@yashodha
Copy link
Contributor

yashodha commented Oct 4, 2022

@MegaphoneJon looks good, merging this.

@yashodha yashodha merged commit 652b01e into civicrm:master Oct 4, 2022
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.

3 participants