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 deprecation warning on Price Set report #15952

Merged
merged 1 commit into from
Nov 25, 2019

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Nov 25, 2019

Overview

Removes a new deprecation notice from PriceSet Search

Before

Screen Shot 2019-11-25 at 3 38 40 PM

After

Screen Shot 2019-11-25 at 4 08 51 PM

Technical Details

In 5.20 we added a deprecation warning on searches that are borked WRT filling the prev_next
cache & hence doing searches. The price set search falls into this camp & while it has
been broken forever the deprecation notice is new (& the fix is safe) so targetting 5.20

Comments

@seamuslee001 - this is the one you found

In 5.20 we added a deprecation warning on searches that are borked WRT filling the prev_next
cache & hence doing searches. The price set search falls into this camp & while it has
been broken forever the deprecation notice is new (& the fix is safe) so targettin 5.20
@civibot
Copy link

civibot bot commented Nov 25, 2019

(Standard links)

@civibot civibot bot added the master label Nov 25, 2019
@eileenmcnaughton eileenmcnaughton changed the base branch from master to 5.20 November 25, 2019 03:13
@civibot civibot bot added 5.20 and removed master labels Nov 25, 2019
@mlutfy
Copy link
Member

mlutfy commented Nov 25, 2019

Having stumbled on this kind of bug a few times, I think it's a safe fix and will be useful for those who write custom searches.

(but I'll let Seamus review/merge)

@seamuslee001
Copy link
Contributor

tested it and happy with it, I have also stumbled across 2 other custom searches that are generating the same notice, 1. Event Aggregate and 2. The basic Custom Search (why that exists i have no idea)

@seamuslee001 seamuslee001 merged commit beb358e into civicrm:5.20 Nov 25, 2019
@eileenmcnaughton eileenmcnaughton deleted the ps_ex branch November 25, 2019 23:12
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