Step to reproduce:

  1. Go to Administer -> Workflow.
  2. Click on "Add state" on a workflow to add a state to that workflow.
  3. Uncheck some checkboxes and click Submit.

In the newly created state the formerly unchecked checkboxes are checked again.
Click on "Add state" again and the formerly unchecked checkboxes are unchecked.

In the database, in workflow_fields table, you'll find records with sid = 0 instead of the id of the newly created state.

Comments

infojunkie’s picture

Assigned: Unassigned » infojunkie

Confirmed. This occurs because the module cannot guess the sid until after the state is saved. I will work on it. In the meantime, opening the state again and setting the permissions should work.

infojunkie’s picture

Status: Active » Fixed

Fixed in both 5.x and 6.x versions. Please verify latest dev version and let me know.

matteogeco’s picture

I tried both 1.1 an 1.x-dev, but none of them has the fix and looking at the code, I can't find the last modify (CVS commit 1.5.2.13.2.8)!

infojunkie’s picture

You probably looked too soon. It takes an hour for Drupal -dev commits to come out as releases...

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.