- Issue created by @kasperg
- First commit to issue fork.
- 🇧🇪Belgium dieterholvoet Brussels
I added a setValue method override where
$this->enum
is being unset. Could you check if this fixes your issue?Drupal\Core\Entity\Plugin\DataType\EntityReference
does something similar. - Status changed to Needs review
over 1 year ago 2:35pm 4 December 2023 - 🇧🇪Belgium dieterholvoet Brussels
Seems like this causes an error:
Error: Typed property Drupal\enum_field\ComputedEnum::$enum must not be accessed before initialization in Drupal\enum_field\ComputedEnum->getValue() (line 23 of modules/contrib/enum_field/src/ComputedEnum.php).
I'll change the
unset
to aNULL
assignment. -
DieterHolvoet →
committed 9fb44542 on 1.x
Issue #3405352 by DieterHolvoet, kasperg: Enum properties do not reflect...
-
DieterHolvoet →
committed 9fb44542 on 1.x
- Status changed to Fixed
over 1 year ago 10:17am 27 December 2023 Automatically closed - issue fixed for 2 weeks with no activity.