- Issue created by @johnv
- 🇩🇪Germany Rudi Teschner
@johnv: Adding the 4 latest commits ( 54c2865f, 8a007858, 4e816b23, e015b366 ) to the current project I work on causes errors so I'll just add em here for you to check whether they have any value for your work.
Warning: Undefined array key "original_deltas" in Drupal\Core\Field\WidgetBase->flagErrors() (line 573 of /var/www/html/docroot/core/lib/Drupal/Core/Field/WidgetBase.php).:
Warning: Trying to access array offset on null in Drupal\Core\Field\WidgetBase->flagErrors() (line 573 of /var/www/html/docroot/core/lib/Drupal/Core/Field/WidgetBase.php).:
Warning: Undefined array key "" in Drupal\Core\Field\WidgetBase->flagErrors() (line 574 of /var/www/html/docroot/core/lib/Drupal/Core/Field/WidgetBase.php).:
TypeError: Drupal\Core\Field\WidgetBase::errorElement(): Argument #1 ($element) must be of type array, null given, called in /var/www/html/docroot/core/lib/Drupal/Core/Field/WidgetBase.php on line 577 in Drupal\Core\Field\WidgetBase->errorElement() (line 643 of core/lib/Drupal/Core/Field/WidgetBase.php).
- 🇳🇱Netherlands johnv
I am working on several issues, too. Better rebase with latest dev.
- 🇫🇷France dcoppel
Just for information, in your last dev commit there are debug trace in message displayed after submitting a node with a workflow field in it.
- 🇳🇱Netherlands johnv
ITMT, upon your next module update, please run update.php and test the history view.
- 🇫🇷France dcoppel
I just did the last update and then I have an error when my node form displayed :
Error : Call to undefined method Drupal\workflow\Entity\WorkflowConfigTransition::render() in Drupal\Core\Template\Attribute->__toString() (line 326 of web/core/lib/Drupal/Core/Template/Attribute.php). - 🇳🇱Netherlands johnv
Hmm, is this in module code on a node edit form with 'Workflow Transition form' field widget?
- 🇫🇷France dcoppel
This is a node form containing a workflow state field displayed by actions button.
- 🇳🇱Netherlands johnv
Can it be a problem in the theme? My core themes give no problem. (since there is a lot of Twig calling involved)
- 🇳🇱Netherlands johnv
This should do it. Doing a string conversion of the 'options' already in module code, instead of relying on core.
Strange why a select option is treated different then a button title.Off-topic: Sowieso, it is a crime to do the conversion between selectlist, radios, action buttons, and dropbuttons, espacially when using them in 'operations'.
- Status changed to Fixed
21 days ago 11:34am 2 May 2025 Automatically closed - issue fixed for 2 weeks with no activity.