The resources are defined with Services 2.x syntax.

The error reported is:

# Notice: Undefined index: method in _services_legacy_services_as_resources() (line 234 of /var/www/webpartners/trophy/sites/all/modules/contrib/services/services.resource_build.inc).
# Notice: Undefined offset: 1 in _services_legacy_services_as_resources() (line 248 of /var/www/webpartners/trophy/sites/all/modules/contrib/services/services.resource_build.inc).

In Services 3.x, resource difinition parameters do not begin with # and return is no longer needed.

CommentFileSizeAuthor
urs_7x.patch5.82 KBjherencia

Comments

berdir’s picture

Lovely :)

Will commit this soon.

Any chance you're interesting in also porting services integration for userpoints 7.x (that is *really* old) and/or for Privatemsg 7.x (Patch for 2.x has been committed recently, see #433780: Add Service methods)

jherencia’s picture

I'm going to try to find time to port both modules, but I can't promise anything.

berdir’s picture

Status: Needs review » Fixed

Ok, commited, please open new issues if there are more things to fix.

Note: When creating patches with git, please use the --no-prefix option to remove the a/b prefix. I was only able to apply the patch because I'm using a git branch locally to maintain the different things I'm working on.

BenK’s picture

Keeping track of this thread.

Status: Fixed » Closed (fixed)

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