Version 1.8 is broken

Created on 7 August 2024, 5 months ago

Problem/Motivation

We are facing many issues after updating to version 1.8, if you change the value from the workflow form, new value not saved, then if you go to manage form mode and hit save, then change the state from the workflow form and the value will be saved, but in the workflow form, all states for all workflows will appear, and the form will be broken.

Steps to reproduce

Create multiple workflows

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇯🇴Jordan Anas_maw

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Anas_maw
  • 🇨🇦Canada jdhildeb

    This is my experience, too. Stay away from version 1.8. I upgraded to 1.8 on a site, worked through several issues including
    * https://www.drupal.org/project/workflow/issues/3454189 🐛 hook_update_8003 to 8.x-1.8 installs optional config and breaks my site Active
    * https://www.drupal.org/project/workflow/issues/3452716 🐛 Warning : Undefined array key "to_sid" in WorkflowTransitionElement::copyFormValuesToTransition() line 356 when using Ajax button from other field Fixed

    I applied patches from the git repo, tested, had my users test, and thought I was good. But after deploying, my users are getting the "This value should not be null" error (possibly other edge cases of 3452716). And I discovered that handling of the "transition pre" is broken in 1.8. I will log this as a separate issue.

    I appreciate the work of the developers and apologize for what may be seen as venting. And I know that they need more specifics in order to reproduce and fix the issues.

    My purpose in adding to this issue is that Drupal users should see this info and avoid this version.

  • 🇬🇧United Kingdom problue solutions Northern Ireland

    It's unusable to be honest, there are multiple bugs that make it completely broken even in basic scenarios, not sure how this has been released as stable.

    I went back to 1.7 but there is something broken with that version that means you cannot use date fields on workflow forms, at least in Drupal 10.4 anyway.

Production build 0.71.5 2024