- Issue created by @alexpott
- @alexpott opened merge request.
- Status changed to Needs review
about 1 year ago 3:02pm 5 November 2023 - 🇨🇭Switzerland bircher 🇨🇿
- 🇬🇧United Kingdom alexpott 🇪🇺🌍
I've addressed @bircher and @andypost's reviews. This is ready for another round.
- 🇧🇪Belgium borisson_ Mechelen, 🇧🇪
This is a very useful changes and the change itself looks very readable as well, what I don't understand is that we disallowed callables before because of serialisation.
This is the old comment, is that no longer true?
If these could be arrays, then they could be // in the form of [$object, 'method'], which would break serialization if // $object was not serializable. This is also why we don't type hint these // parameters as ?callable, since that would allow closures (which can't // be serialized).
- Status changed to Needs work
about 1 year ago 9:47am 6 November 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
- Status changed to Needs review
about 1 year ago 11:38am 6 November 2023 - Status changed to RTBC
about 1 year ago 2:07pm 6 November 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
AFAICT
2x: Creation of dynamic property Drupal\Core\Form\ConfigTarget::$elementName is deprecated
is causing the test failures.
But I see no more occurence? 😳 WTF!
EDIT: LOL, @alexpott just pushed the fix at https://git.drupalcode.org/project/drupal/-/merge_requests/5251/diffs?co... — that's why 🤣
This looks like an excellent improvement! 👍
- First commit to issue fork.
- Status changed to Fixed
about 1 year ago 4:29pm 7 November 2023 - 🇬🇧United Kingdom catch
Very nice. Had to have a couple of read throughs to figure out what was going on, but very nifty. Committed/pushed to 11.x and cherry-picked to 10.2.x, thanks!
- 🇬🇧United Kingdom alexpott 🇪🇺🌍
I've updated https://www.drupal.org/node/3373502 →
Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
about 1 year ago 7:54am 12 December 2023 - 🇫🇮Finland lauriii Finland
It looks like this may have caused the
\Drupal\Core\Form\ConfigTarget
to not be fully serializable: 🐛 \Drupal\Core\Form\ConfigTarget is not fully serializable Active .