Closed (fixed)
Project:
OG Workflow
Version:
7.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Sep 2013 at 14:25 UTC
Updated:
11 Jan 2014 at 16:05 UTC
Jump to comment: Most recent
Comments
Comment #1
Tim-Erwin commentedCould 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?
Comment #2
andrea.vivaldi commentedIt 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.
Comment #3
andrea.vivaldi commentedAh, almost forgot to say that i have all the latest stable version of every module involved (the only dev is the og_workflow).
Comment #4
Tim-Erwin commentedAh, 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.
Comment #5
andrea.vivaldi commentedNo 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.
Comment #6
Tim-Erwin commentedpheeewww... 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"?
Comment #7
andrea.vivaldi commentedExactly, i don't know what i'm doing wrong...
Comment #8
andrea.vivaldi commentedI 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?
Comment #9
andrea.vivaldi commentedMaybe i've found were the real problem is: https://drupal.org/node/2102193.
Thank you.
Comment #10
Tim-Erwin commentedExactly. Just found that, as well. Need a patch?
Comment #11
Tim-Erwin commented