Closed (fixed)
Project:
Rules
Version:
8.x-3.x-dev
Component:
Rules Core
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
3 Nov 2019 at 23:57 UTC
Updated:
18 Dec 2019 at 19:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
tr commentedComment #3
tr commentedAh, the change record was seriously messed up and wrong. I foolishly believed what it said and made the changes it said to make, and that's why the tests failed.
I had to read the original issue that made the change then extensively correct the change record so someone else might be spared that agony.
Here's a new patch which should be correct this time.
Note that core seems to now have replicated what we already have in
rules/src/Form/BreakLockForm.phpandrules/src/Ui/TempStoreTrait.php, and we ought to look into using the core versions now that they're available.Comment #4
jonathan1055 commentedAdding as child of meta issue
Comment #5
jonathan1055 commented[edit]
Would it make sense to address this other TempStore lock deprecation in this same issue? It is the same test which has both.
Just tested the patch in my Travis builds and it does fix both deprecations.
Also, I know you know this, but for the record, just to confirm the result of the patched code when running at core 8.6 gives:
Comment #6
tr commentedI don't understand - the patch does address both. Did I miss a line of code somewhere?
Comment #7
jonathan1055 commentedI had just editted my comment at the very second you posted this. Yes the patch does fix both. Sorry for the noise, I should have checked that first.
Comment #9
tr commentedCommitted.