Closed (fixed)
Project:
Services Views
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Apr 2011 at 23:05 UTC
Updated:
24 May 2011 at 15:21 UTC
Heres my initial port to 7.x
| Comment | File | Size | Author |
|---|---|---|---|
| 0001-Initial-7.x-release.patch | 1.69 KB | kylebrowning |
Comments
Comment #1
brettbirschbach commentedIf I grab the latest Services Views 2, and pull in the changes mentioned above, will it run with Drupal 7/Views 3/Services 3? I'm guessing not, or at best "maybe, but no one has extensively tested it". Just want to better understand what this "patch" represents, as I am considering a drupal site that is going to serve data to multiple other sites, and one requirement is to be able to serve data from complex queries touching multiple tables. I believe I need Services Views for this.
Comment #2
kylebrowning commentedThis patch supports views 2 AND views 3 and works for Drupal 7
Comment #3
brettbirschbach commentedThanks Kyle. I followed your patch, and got Services Views successfully installed in my Drupal 7 site. However, whenever I retrieve a view via Services, all "fields" come back as the string "node". This is if my view is set up to return "Fields". If I change my view to return "Content", then when I retrieve it via Services, then the fields are all populated as array objects that I have to dig a few levels deep into to find values. Is this the expected functionality? In drupal 6, when I used Services Views that was embedded in Services 2, I fields showed up as simple values. I know, however, the data is structured differently by Drupal 7, so maybe there is no choice.
Comment #4
kylebrowning commentedUnfortunately its a bug in views :( #1145770: Helper function for getting raw and rendered field data Im going to be attempting workarounds.
Comment #5
voxpelli commentedThis patch was mostly a port to Views 3 it seems - committed that to d6 and then did the change to the info file.
Seems to be working - please test it out! A dev-release will be built soon.