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.