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

Fix breakage in message preview on workflow contributions #23801

Merged
merged 1 commit into from
Jun 16, 2022

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Jun 15, 2022

Overview

Fix breakage in message preview on workflow contributions

Before

Failure to render message preview for offline contributions in message admin ui

After

image

Technical Details

There is a sort-of regression fix in here - isShowLineItems was being assigned in reverse - but I don't think we encouraged that tpl change so probably no-one will be much affected - but I can switch to the rc if preferred. Perhaps there is a case for that since it will be the ESR & we will be stuck with it for longer -

Comments

@civibot
Copy link

civibot bot commented Jun 15, 2022

(Standard links)

@civibot civibot bot added the master label Jun 15, 2022
@eileenmcnaughton eileenmcnaughton changed the base branch from master to 5.51 June 15, 2022 04:01
@civibot civibot bot added 5.51 and removed master labels Jun 15, 2022
@eileenmcnaughton
Copy link
Contributor Author

Update - switched to the rc because of the showLineItems issue - which would affect new sites & is technically a regression so should be in the rc (& possibly in tomorrow's drop)

@totten
Copy link
Member

totten commented Jun 16, 2022

I tried this out a couple ways - ie (1) in the web UI, (2) by doing some additional work to enable phpunit-testing for this example (draft branch). In both cases, confirmed that it fixed the error.

However, on my local, the message-preview doesn't show the data-table ("Contribution Information"). I suppose {if $amount} is returning is false. This probably is distinct from the fix in this PR - so we can leave that for another PR.

@totten totten merged commit ef905d5 into civicrm:5.51 Jun 16, 2022
@eileenmcnaughton eileenmcnaughton deleted the cont_work branch June 16, 2022 02:13
@eileenmcnaughton
Copy link
Contributor Author

thanks @totten

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.

2 participants