Closed (fixed)
Project:
Graph API
Version:
7.x-1.x-dev
Component:
Views integration
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
20 Jan 2013 at 18:49 UTC
Updated:
10 Feb 2013 at 11:10 UTC
I have created a view based on relations. I was using theJit spacetree as render type and it was rendering fine. I have decided to upgrade the graph modules - graphAPI, graphviz,graph_phyz, theJit - to the latest dev versions and structure. The view doesn't render anymore when using theJit (spacetree or force directed) as render engine although it did before the upgrade. It renders only with graph_phyz. When I opt for theJit spacetree it shows only the background grey canvas and the Fullscreen and Hide Visualization controls don't work. In the content section of the view I can see the appropriate code generated. What I might be doing wrong?
Comments
Comment #1
clemens.tolboomThe plumbing to render a spacetree is active. Maybe the mapping needs some adjustments for the spacetree?
You could try to reconfigure the views format for spacetree.
Also check the error report. Maybe you found a bug.
Comment #2
svla299 commentedI have reverted back to the previous commit and everything works as expected.
Looking at the log messages I am getting many of the following :
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in views_plugin_style_graphapi->options_form() (line 148 of D:\xampp\htdocs\www\sandbox2\sites\all\modules\graphapi\views\plugins\views_plugin_style_graphapi.inc).
whenever I edit a view of graph type.
Comment #3
clemens.tolboomHave you checked the demo pages of Graph API too?
Comment #4
clemens.tolboomI can reproduce this and it's a bug.
Comment #5
clemens.tolboomI've tested this bug. The mentioned code was obsolete.
The cause of not rendering a spacetree or force directed had to do with the Global ID value 'graphapi-default'. Changing that into 'graphapi_default' fixed the jit.
See thejit #1900144: The id for settings is used both in html and javascript. Using a '-' makes javascript useless.