The relationships added by Services Entity Reference declare '_services_entity_access_callback' as their access callback but this function doesn't actually exists.
As a result any call to that kind of relationship leads to "Access denied".
It seems that this callback has somehow been renamed to '_services_entity_access_callback'. (not sure).
Using the new callback name seems to fix the issue.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | services_entity-entityreference_relationship_access_callback-2308339-3.patch | 1.42 KB | garphy |
Comments
Comment #1
garphyPatch attached.
Comment #2
joachim commentedThat looks like what's happened. Mining git shows the old function:
and the new one is:
So this looks like the right fix to make. Good catch :)
Though you missed one other occurrence of this. Any chance you could update your patch please?
Comment #3
garphyHere's a new patch which include the replacement of both occurrences.
Comment #4
garphyComment #6
joachim commentedPerfect. Thanks!
I think this warrants a new release.