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

[Smarty variables] [CiviCase] remove isset from case dashboard #22176

Merged
merged 1 commit into from
Dec 1, 2021

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

[Smarty variables] remove isset from case dashboard

Before

Fatals on case dashboard with smarty escape by default

After

fixed

Technical Details

Comments

@civibot
Copy link

civibot bot commented Nov 30, 2021

(Standard links)

@eileenmcnaughton
Copy link
Contributor Author

test this please

@demeritcowboy
Copy link
Contributor

I don't know if trying to put this test in testOpeningForms will work. Enabling civicase in tests seems to require more than just enabling civicase, and this test was originally meant for simple stuff. When I haven't been able to make tests work here I've just made a separate test somewhere else, like how tests/phpunit/CRM/Case/Form/SearchTest extends CiviCaseTestCase, although it doesn't use Invoke (it maybe should).

@eileenmcnaughton
Copy link
Contributor Author

@demeritcowboy that test actually passes locally- but I can't replicate it failing on jenkins & it doesn't seem worth fighting that battle so I removed

@demeritcowboy
Copy link
Contributor

Ok yes that's the kind of thing that's blocking me on the smarty static one too. Trying to debug it locally isn't helpful.

The enableCiviCase line is still in here, but I guess we'll see if that passes.

@eileenmcnaughton
Copy link
Contributor Author

fail is that known unrelated one

@eileenmcnaughton eileenmcnaughton merged commit e1092ab into civicrm:master Dec 1, 2021
@eileenmcnaughton eileenmcnaughton deleted the smarty4 branch December 1, 2021 23:34
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