Hi All,
I'm having some serious issues with CMS Workflow and could really use some help with this.
I've set up 2 roles. "author" and "publisher"
author can:
Access to 'Files & Images' section
Access to 'Pages' section
View draft content
And publisher can:
Full administrative rights
Then I created 2 groups. "Test Member" who will be authoring all of Test Members pages. And "Publishers" who will be in charge of publishing all of Test Members posts.
Under Test Member I created a unique user.
Under Publishers I'm using an administrator that is already in the Admin group.
In the CMS, I've set up Test Member to be the editor of his/her page and Publisher to publish. See attached.
When the author edits a page and clicks save. I get a "Status changed to saved (update)" response in green text. Then I click "Request Publication" fill in some comments and click ok in the pop-up. I then get a "Request to change. Emailed to no-one" message.
I do not get an email (publisher is set up with my email address).
Then...
When I log in as the publisher and click on the edited page, I see the "Workflow" tab. If I click "Save" it appears to save. But then if I click "Save and Publish" I get an "Error Saving Content" in red. BUT it DOES actually save. If I refresh the CMS page, I see that the "Workflow" tab is removed and the content is saved.
In mysite/_config.php I have this line:
WorkflowRequest::set_alert('WorkflowPublicationRequest', 'request', 'publisher', true);
But still I don't receive an email. I'm absolutely sure my email address is correct. Matter of fact, NO admin user receives an email.
I should mention that I'm currently running this on a IIs server (was developed on Apache II), but has the same issue on Apache II.
Any help is greatly appreciated.
UPDATE: Actually this gives me a server error when I try to request publishing as the author:
WorkflowRequest::set_alert('WorkflowPublicationRequest', 'request', 'publisher', true);
Chris.b