Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
\Drupal\tmgmt\Form\TmgmtFormBase::__constructor
It doesn't call parent contstructur.
As a result, two members are uninitialised:
entityTypeBundleInfo and time
Proposed resolution
Fix... ;-)
Comment | File | Size | Author |
---|---|---|---|
#8 | Issue-2840331-8.patch | 1022 bytes | cburschka |
| |||
#2 | form-parent-2840331-2.patch | 2.29 KB | Berdir |
|
Comments
Comment #2
BerdirComment #4
BerdirCommitted.
Comment #5
cburschkaThis is targeting the 8.3.x branch, it seems - in the stable core version those two members don't exist yet...
Comment #7
BerdirYep, reverted now.
Comment #8
cburschkaFor the 8.2.5, this is just a one-liner replacing the straight assignment with the parent call :)
(For now it doesn't change anything, but it makes the code future-proof for 8.3.x when it will let the parent use default values for the missing arguments.)
Comment #10
BerdirThanks.