Due to an update to the services module we can no longer rely on the services_get_resources function to return only enabled resources. This bug crept in during this update to services: http://drupal.org/node/1436366

A similar bug was noticed in the REST Server module (http://drupal.org/node/1693342) and I have prepared a patch that takes the same approach to fix this issue. Although I think that it could be handled more elegantly in the Services module itself and if I get time I will pursue that course. In the meantime this patch will fix this issue. You will only experience this issue when you upgrade to services-7.x-3.2 and above.

Comments

nlisgo’s picture

Status: Active » Needs review
StatusFileSize
new633 bytes

Here is the patch

This patch has a bug in it. Sorry.

nlisgo’s picture

New patch

seanb’s picture

The fix works for me! Thank you.

nlisgo’s picture

Status: Needs review » Reviewed & tested by the community
cmongut’s picture

Services module has reorganized its directories in version 7.x-3.4, so the way we load the needed file has changed.
Here is an updated patch to work with services 7.x-3.4.

robloach’s picture

Status: Reviewed & tested by the community » Fixed

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.