Closed (fixed)
Project:
User Relationships
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Feb 2011 at 11:58 UTC
Updated:
27 Feb 2011 at 17:11 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| urs_7x.patch | 5.82 KB | jherencia |
Comments
Comment #1
berdirLovely :)
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)
Comment #2
jherencia commentedI'm going to try to find time to port both modules, but I can't promise anything.
Comment #3
berdirOk, 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.
Comment #4
BenK commentedKeeping track of this thread.