Hi,
when i set transitions with OG settings the workflow stops working. The regular flow remains in the initial state "(creation)" and even the Administrator doesn't have the possibility to change in the subsequent state. I tried every combination but nothing, the flow doesn't work. Help!

Comments

Tim-Erwin’s picture

Category: bug » support

Could you please tell us more about your configuration? What roles do you have in your group? Which roles are assigned to the user in question? What are the permissions for the role in workflow and in og_workflow? Does it work for content outside of groups?

andrea.vivaldi’s picture

It doesn't work for types outside groups (until i disable og_workflow module).
I have two roles in a OG group: manager and employee.
I have a content type (related to the OG group) named "Travel request". In the flow associated to this content i have two possible states: "Pending" and "Approved". In the transitions matrix i set the role "author" for the state transition from (creation) to pending, then the role Manager for the state transition from pending to approved.
In the OG permission settings (strict OG access permission) the employee role can create new travel request. Roles employee and manager can edit that content type.
In the OG workflow access settings only a user of manager role can edit the content (and only in the state "Pending"), while either employees and managers can view content in any state.
Do i need to provide any other info?
Thank you for the quick reply.

andrea.vivaldi’s picture

Ah, almost forgot to say that i have all the latest stable version of every module involved (the only dev is the og_workflow).

Tim-Erwin’s picture

Ah, good hint, this could be a problem. Do you use dev of workflow or release? Please try workflow-7.x-1.2. The workflow module is under heavy development and it's kinda hard to keep up, so we are compatible with the stable version, no idea about the dev version.

andrea.vivaldi’s picture

No I use the stable version (workflow-7.x-1.2). It seems it can't proceed with any of the state transition. Did you ever experience something like that? It you give me some initial hints i can check the code with you.

Tim-Erwin’s picture

pheeewww... So you are saying that lets say an employee creates a request outside of any group (with og_workflow enabled) and cannot save it as "pending"?

andrea.vivaldi’s picture

Exactly, i don't know what i'm doing wrong...

andrea.vivaldi’s picture

I think the problem is in the major changes in the workflow module architecture (not only in the dev version). In fact also the stable version of og_workflow doesn't work anymore. Do you ever try this module after the release of version 7.x-2.1 of the workflow module?

andrea.vivaldi’s picture

Maybe i've found were the real problem is: https://drupal.org/node/2102193.
Thank you.

Tim-Erwin’s picture

Exactly. Just found that, as well. Need a patch?

Tim-Erwin’s picture

Issue summary: View changes
Status: Active » Closed (fixed)