I have installed the module and set everything according to help page, did some workflow state changes and the comments behave as they used to, I cannot see any change. What this module is supposed to do exactly? Thanks for help!

Comments

john.money’s picture

Status: Active » Closed (fixed)

Quick test case:

  • Node type has comments enabled (e.g. read/write)
  • Node type is assigned workflow with 3 states: created, Review, Approved
  • Node created, advancing workflow state to Review
  • Node state is changed to Approved
  • Comments are now closed (e.g. read only)
  • Node state is changed back to Review
  • Comments are now reopened (e.g. read/write)

Let me know if you need further help.

bwo’s picture

Title: How to use this module? » Check last state by weight, not sid
Category: support » bug
Status: Closed (fixed) » Active

OK, I know what's going on. You treat as "last state" the state with the highest sid, i.e. the last created state, which is not always the case. I think the module should the check highest weight, not sid.

john.money’s picture

Assigned: Unassigned » john.money
Status: Active » Closed (fixed)

Yes, indeed... new release forthcoming. Thanks for report! :)