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

dev/core#1902: "Contribution Source" profile field has no effect #17930

Merged

Conversation

twomice
Copy link
Contributor

@twomice twomice commented Jul 23, 2020

This profile field has on the new contribution.

From the linked issue (dev/core#1902):

Overview

Profiles allow inclusion of the "Contributions :: Contribution Source" on contribution pages, but any value entered therein is disregarded when saving a new contribution.

Steps to reproduce (on dmaster.demo.civicrm.org)

Reproduction steps

  1. Start with the Name and Address profile, and add to this profile the field "Contributions :: Contribution Source"
  2. Add this profile to a Contribution Page, e.g., "Help Support CiviCRM!"
  3. Open the Contribution Page, and fill in the form to submit an online contribution; for the Contribution Source field, enter a testable value such as "test source".
  4. Submit the contribution
  5. Find the contribution in CiviCRM, and open it; examine the value of the "Source" field.

Current behaviour

  • The "Source" field reads "Online Contribution: Help Support CiviCRM!"

Expected behaviour

  • The "Source" field should read "test source"

Environment information

The above repro steps were performed today on dmaster.demo.civicrm.org.

@civibot
Copy link

civibot bot commented Jul 23, 2020

(Standard links)

@eileenmcnaughton
Copy link
Contributor

I gave this a light read & from a code point of view if slightly simplifies the code. It's not a high impact issue so I'm gonna let it sneak through without a test (especially since it could almost qualify as code cleanup). If it fixes it for you I'm Ok with it

@eileenmcnaughton eileenmcnaughton merged commit 2fbc23b into civicrm:master Jul 24, 2020
@twomice
Copy link
Contributor Author

twomice commented Jul 24, 2020

Thanks @eileenmcnaughton !

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

Successfully merging this pull request may close these issues.

2 participants