I'm using Revisioning + VBO + Rules with a CCK field instead of Workflow. I have a ruleset that is invoked from a view. It sets the workflow field to Live and publishes the most recent revision. The problem is that the revision still shows as unpublished unless I go directly to Revisioning's edit form and click the Publish button there. The rule is logging that it published the revision:
Published rev #10 of page About TooManyCrafts.com
I also have Module Grants and Nice Tabs, of course, but I have Nice Tabs turned off for Admin pages. I am logged in as user 1, so I don't think it's a permissions problem. I currently do not have installed the patch to allow access to the current and target revision author.
Comments
Comment #1
ccdechesney commentedFurther testing: If I take the same page as above and use the edit form to publish it, then edit it again to create a new revision, the new revision is created but I get the message "Your changes are now current as moderation is switched off for this content type." Also the timestamps for the two revisions are in lockstep. If I change the pending revision, the timestamp for the published revision gets updated, too, although clicking the timestamp link shows the correct content for each revision.
It seems to me I have something messed up in the configuration, but I can't find it. Since I am not using the Module Grants screen to control what users see, does it matter how the Module Grants permissions are set? For the Node module, both Editors and Authors can create content and view revisions, no one can delete any content types, editors can revert revisions, and both can delete revisions. In Revisioning Module permissions, Editors can publish revisions and unpublish current revision, both can view revisions of own content and both can edit revisions. In spite of these settings, Authors cannot edit or delete revisions. The page content type has workflow settings as follows: Create new revision, New revision in draft, pending moderation, Create new revision only when saving content that is not already in draft.
I'm hoping you can give me an idea of what I might be doing wrong. Maybe I'm trying to make Revisioning do something it's not designed to do, but it seems that it should be able to do it. What I want is for Authors to see and edit their own content unless the content is with the Editor. Editors should see content that is submitted by Authors, publish it or send it back to the Author for more work, promote content to front page once it is published.
Could the fact that I installed Workflow and then uninstalled it have caused a problem in the database? I rebuilt the permissions cache and that didn't help.
Comment #2
ccdechesney commentedSorry, I realize I have more than one thing going on here. Will do more testing to see if I can come up with a repeatable problem. It may take a while since it looks like I'm going to take a detour through the code for VBO before things will work as I want them to.
Comment #3
rdeboerNo activity for 6 weeks...closing.
If there's still an issue, please reopen after testing with the latest and greatest versions of all modules involved.