-
Notifications
You must be signed in to change notification settings - Fork 34
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
We're calling a method (having
) that doesn't exist on DataList
#417
Comments
GuySartorelli
changed the title
TODO:
We're calling a method (Oct 19, 2023
having
method doesn't exist on DataListhaving
) that doesn't exist on DataList
Marking as impact/high. |
PR merged. Reassigning to Steve to add a note to the PR about the deprecated parameter. |
Not sure what I'm supposed to do here? |
Changelog, sorry. |
PR added |
PRs merged |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Method
having()
doesn't exist inDataList
class, but we're trying to call it IfVersioned::Versions()
receives$having
parameter.We need to either add that method to
DataList
or apply the$having
argument viaalterDataQuery()
See
silverstripe-versioned/src/Versioned.php
Lines 2008 to 2026 in 5359490
Acceptance criteria
$having
argument inVersioned::Versions()
can be called without throwing an exception and can be meaningfully use.Note
We are assuming that this can be done relatively easily. But if it turns out to be very difficult, bring it back for re-refinement.
PR
The text was updated successfully, but these errors were encountered: