Closed (fixed)
Project:
Services
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
15 Oct 2012 at 05:01 UTC
Updated:
16 Nov 2012 at 19:09 UTC
Jump to comment: Most recent file
Hello!
After integration with Libraries API module REST Server sub-module depends on libraries_load() function, but it was introduced only in Libraries 2.x branch. In case we're trying to enable REST Server with Libraries 1.x, we'll face PHP fatal error, and some parts of our site will go away. Proposed resolution is simple - to modify REST Server's dependency to Libraries 2.x branch from Libraries in general.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1812830-services-fix_libraries_dependency_version-1.patch | 385 bytes | renat |
Comments
Comment #1
renat commentedAnd the patch:
Comment #2
irous commentedI have to say this caught me big time as well. I was using the v1.x Libraries api and Services with a REST server fine until the latest update.
It would be useful if the Services project page or readme mentioned somewhere that you need Libraries API v2.x if you want to use the REST server.
Comment #3
kylebrowning commentedThanks.
Comment #4
stupiddingo commentedSame issue here, using the older Libraries module with the latest Services release borked most of the site. Updating the Libraries dependency restored order! Thanks!
Comment #6
spleshkaSame issue: I used libraries 1.0 and got this error. Please, commit this patch to module. It looks like RTBC.
Comment #7
kylebrowning commentedThis has already been committed.