Closed (fixed)
Project:
Views Datasource
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
18 Jan 2010 at 00:57 UTC
Updated:
23 Jun 2010 at 19:50 UTC
The JSON DATASOURCE module does not handle arrays in arrays. i.e.:What if you have a node with multiple images attached ( or multiple URLs...) In a normal PAGE View you receive an array that you can even theme. But in this module, I can not seem to get an array with a list of other node values.
Its strange because even if you have a normal VIEW PAGE, it works. Then add a JSON DOC and all of the Images are missing.
Even adding a RELATIONSHIP does not work.
Just thought I would mention this. It would be really nice if there was some kind of UI just for JSON views. Perhaps somehting like CONTEMPLATE for JSON...
just 2 cents.
Comments
Comment #1
allisterbeharry commentedI'm going to add the code for correctly rendering fields with arrays when you include a field with multiple values attached. There's no code for handling fields as arrays because the rendering code (wrongly) only outputs the raw view result. This will be fixed in the next release.
Comment #2
allisterbeharry commentedFixed in 6.x-1.0-beta1