Views 6.3-dev + Exhibit Views = JSON error

jcamfield - August 24, 2009 - 18:02
Project:Exhibit
Version:6.x-1.0-beta1
Component:Data sources
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

Using the Views 3.x Dev branch, filter facets break in Views-based exhibits with
n (missing this field) <--as usual
nn [object Object] <-- instead of a list of the objects to filter

Views 2.6 continues to work hunky-dory, but I thought the devs would like a heads-up on an upcoming issue.

AttachmentSize
objectobjecterror.png194.49 KB

#1

mariagwyn - September 8, 2009 - 16:41

Similar error. Using 'list all terms' in View feed, which displays fine in view. However, in Exhibit, the field '.tid' contains only [object Object].

This error appears on both Views 2.x-dev and 3.x-dev.

2.6 is fine.

#2

mariagwyn - October 25, 2009 - 20:55

any possibility of this being addressed? The views 2.x-dev version has some features I would like to continue to use, so I would prefer not to have to revert to 2.6. But, I am using exhibit for a key page. Any thoughts?

Thanks!!!

#3

mariagwyn - October 27, 2009 - 15:06
Status:active» needs review

A friend a developer came up with a patch which fixes the problem. Not the cleanest, but it works. I have attached it. Improvements welcome!

AttachmentSize
exhibit.patch 746 bytes

#4

hartman.tijn@gm... - November 20, 2009 - 12:19

Hi,

After installing the patch, I get the error:
warning: Invalid argument supplied for foreach() in ../sites/all/modules/exhibit/contrib/exhibit_views/views_plugin_style_exhibit_json.inc on line 128.
Using php 5.3 and views 6.3-dev

Any ideas?

 
 

Drupal is a registered trademark of Dries Buytaert.