Closed (fixed)
Project:
Facets
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 May 2023 at 12:53 UTC
Updated:
23 Jul 2024 at 10:07 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
rajeshreeputraComment #3
rajeshreeputraComment #4
ankitv18 commentedComment #8
benabaird commentedI've created a branch that addresses all dynamic property issues on PHP 8.2 for the 3.0 branch in a more robust manner. Instead of adding the missing property to the Result class I've added a generic storage property that can be accessed through get/set methods. This fixes the display value order processor, as well as opens up the ability for other custom processors to save arbitrary data on the result.
Comment #9
benabaird commentedSorry for the spam. Fixed the failing sort test. The tests that don't pass are not related to these changes.
Comment #10
benabaird commentedComment #11
mvonfrie commentedFor me MR 143 works.
Comment #12
heddnClosed #3336646: PHP 8.2 compatibility for the 2.0.x branch and #3340211: PHP 8.2 compatibility as duplicates.
Comment #13
heddnI can't RTBC this because I made the last changes. But for the bits I didn't work on, I can give a whole hearted +1. The number of test failures are also the same on HEAD, so I think this is ready. LGTM.
Comment #14
jorisclaes commentedI found some deprications:
Deprecated function: Creation of dynamic property
see the patch for inspiration
Comment #15
heddn#14 needs to incorporated into the MR please.
Comment #17
liam morlandI have added #14 to the merge request.
It would be helpful to add a PHP 8.2 automated testing configuration.
This merge request is changing a lot more than is needed to fix the "Creation of dynamic property" message. To just fix that, all that is needed is the fix in #3336646: PHP 8.2 compatibility for the 2.0.x branch.
Comment #19
mkalkbrennerComment #20
liam morlandNothing has been merged.
Comment #22
mkalkbrennerObviously the "merge train" didn't work. I merged manually now,
Comment #23
carolpettirossi commentedHere's a patch for the version 2.x of facets.
In our case, we can't upgrade to 3.x as we are using the facets_form module that is locked on 2.x
Comment #25
herved commentedStatic patch from MR 143, if anyone else needs it.
PS: Is there a plan for a 3.x-beta2 release yet?
Comment #26
marios anagnostopoulos commentedSorry for posting after this was closed.
Has this not been merged to 2.x, Or am I doing something wrong?
Comment #27
liam morlandThis was merged only in to branch 3.0.x. The 2.0.x branch was fixed in #3336646: PHP 8.2 compatibility for the 2.0.x branch; this fixed shipped in version 2.0.7.
Comment #28
ethomas08 commentedRe-rolled patch for 3.0.0-beta1 release because my team cannot use the more recent releases due to breaking changes.
Comment #29
nick hope commentedComment #30
marios anagnostopoulos commentedFor everyone using 2.0.7
Comment #31
ankitv18 commented