- Issue created by @Alezu
- @alezu opened merge request.
- 🇷🇺Russia Alezu
I've fixed the error locally by converting views filter options labels to string. Please review.
- 🇨🇭Switzerland ayalon
I had exactly the same issue also with Drupal 11. I have tested the code and reviewed it.
It looks good and should be commited.
Tested the patch in my own environment and it fixes the issue.
- 🇳🇱Netherlands johnv
The patch does not work for me.
At least the init() is needed to have a list of valid values.
There might be a dependency on 📌 WorkflowTransition references WorkflowStates as a reference_item, not a list_string Active . At the moment, the baseFieldDefinitions of states are defined as 'list_string', not 'entity_reference'. - 🇨🇦Canada sagesolutions
Applied patch on the 8.x-1.x-dev branch and it worked for me on Drupal 10.4.7
@Johnv, what workflow branch and Drupal version are you testing on?
- 🇳🇱Netherlands johnv
I am working on D11.2 with latest Workflow version 2.0+dev, with WorkflowTransition::baseFieldDefinitions for from_sid and to_sid = 'list_string'.
(please run update. php) - 🇷🇺Russia Alezu
@Johnv, I do not see 2.0 development branch - the only one I've found is the default branch 8.x-1.x.
- 🇨🇦Canada sagesolutions
There is a tag 2.0.0, but the latest code is on the 8.x-1.x branch. Please test on that branch. Marking as RTBC but feel free to switch it back if you are still running into issues.
- 🇳🇱Netherlands johnv
Hmm, not sure how to create a dev version for the 2.0 branch. It seems that this version is the one I am maintaining:
https://www.drupal.org/project/workflow/releases/8.x-1.x-dev →