I am using RESTful Web Services on a site that I am also using Workbench Moderation on. I looks like restws_page_callback() is handling some paths that it shouldn't be.

For example, Workbench Moderation has a hook_menu for $items["node/%node/draft"] If restws is enabled, then this path throws a 404 from restws.module:371 Oddly enough, some node paths that WBM handles do work.

I don't follow how restws_menu_alter() and restws_page_callback() work in order to patch this.

Comments

azarzag’s picture

Issue summary: View changes

Did you ever solve it? I am experiencing the same issue

mpdonadio’s picture

@azarzag No, I ended up disabling the module and going with another approach.

azarzag’s picture

@mpdonadio same here. I ended up using the services module

Grayside’s picture

Issue tags: +Workbench
bkildow’s picture

I'm having a similar problem, and it looks like there is a patch that may fix this over in the workbench_moderation queue: https://www.drupal.org/node/1838640#comment-8933731.

dkinzer’s picture

I'm seeing this too on the DKAN distro. Thanks @bkildow for linking the patch!