Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Want to confirm that the user_relationship_service in D7 branch has not been ported.
As from my test it does not show up in the Services' Resources. Skimming the code, it looks like is a D6 code using deprecated hook_services.
Comment | File | Size | Author |
---|---|---|---|
#2 | user_relationship_service_7x_port-1367258.patch | 20.88 KB | duskrider |
Comments
Comment #1
BerdirNo, it's not.
Comment #2
duskrider CreditAttribution: duskrider commentedI've gone through and updated user_relationship_services to work with Drupal 7 and Services 3.x (tested 3.3). The only issue I encountered that I wasn't able to fully resolve was having the listing of the logged in user's relationships need the UID passed in the request, even though it's ignored by the user_relationship_service_mine function. I continued to get a 401 error if I didn't pass, and accept, the parameter. It seems fully functional... just that little quirk.
Comment #3
matthandA big thanks to Duskrider for porting the UR Services sub module to Drupal 7. He even included great help text that spells out exactly how to make the calls in services. UR Services is working exactly as expected, no errors, warnings, conflicts or any problems whatsoever. I recommend that this patch be committed.
Comment #4
BerdirLooks great, did run it through format code to fix some of the array indendations and commited. Thanks for working on this.
Comment #6
OReal CreditAttribution: OReal commentedI tried it but the patch did not work and was not applied.
Is there something in the patch that needs correction?
Im using drupal 7 with services 3 but the settings for UR wont show up in the services settings page.
Comment #7
tobiberlinSame here... although some folks may fuss I re-open this issue and change the title ;-)
I tried latest dev-version of User Relationships Services module with Services 7.x-3.4 but I cannot find any additional resource on services setting page. Maybe I misunderstand something? Could you please advice how I could get this running?
Comment #11
heylookalive CreditAttribution: heylookalive commentedSent the patch to testbot for another run, I don't know the services module well enough to judge whether or not this is working as it should be nor fix it if it's not.