When updating one of my sites from D3 7.x-1.x-dev to 7.x-1.0-alpha this morning, all appeared to be OK, until I noticed one of my mini panel displays was missing content. When I attempted to edit content in the affected mini panel, I was no longer able to do so.

To rule out other possible issues, I did refresh permissions and cleared the cache numerous times, as well as resetting user permissions for the Panel and Mini Panel content, to no avail. Surpassingly, regular Panels content was unaffected. Currently, I'm running the latest versions of Panels and Views, as well.

Since I couldn't find a solution, I rolled back to the 7.x-1.x-dev version of D3, and things appear to be functioning normally.

Comments

asherry’s picture

When you say 'mini panel display', what exactly is calling the d3 library? Is it driven by a view?

karolus’s picture

Yes--
I have a view with D3 charts embedded within a mini panel layout. When I upgraded the D3 module, the content was no longer visible, and the mini panel was no longer editable. If it's any help, there is another area in this mini panel layout where a Flexsilder view display also didn't show any more.

After rolling back, all these problems disappeared.

asherry’s picture

Ok that makes sense, where was a significant change to the way the views handler works. The .info file mappings are completely different now. Did you have an info file mapping at all before?

If you paste it here I can help you convert it, and maybe tell me a bit more info about the views fields that you're trying to use in your visualization if you can.

karolus’s picture

Thanks--
After upgrading, I went ahead and changed the .info file for my custom visualizations. One worked, but the other didn't. This is the one that worked (donut chart):
Old:

name = Work Focus Chart 1 
description = Work Focus Chart 1
files[js][] = workfocus01.js
files[css][] = worfocus01.css
version = 0.1
dependencies[] = d3
dependencies[] = d3.tip

views = 3.0

; Information added by Drupal.org packaging script on 2014-12-03
version = "7.x-1.x-dev"
core = "7.x"
project = "d3"
datestamp = "1417584783"

New:

name = Work Focus Chart 1 
description = Work Focus Chart 1
files[js][] = workfocus01.js
files[css][] = worfocus01.css
version = 0.1
dependencies[] = d3.tip
views[fields][rows][__data_type] = 2dnnv
views[fields][rows][name] = { label: Name, type: string, description: Label for each slice of the pie. }
views[fields][rows][value] = { label: Value, type: integer, description: Numeric value to be converted to a percentage }

; Information added by Drupal.org packaging script on 2015-04-11
version = "7.x-1.0-alpha1"
core = "7.x"
project = "d3"
datestamp = "1428785584"

Aside from that, though, I couldn't edit my Mini Panels display at all any more, and even if I trashed it and recreated, couldn't edit the new one. It was at this point that I pulled the rollback...

asherry’s picture

Assigned: Unassigned » asherry

I'll try to replicate this the best I can and have a look then. Looks like an error with the module rather then just updating the configuration.

Any chance you'll be in LA for DrupalCon? There is a BOF for Drupal/d3 setup.

karolus’s picture

Wish I could be at Drupalcon--but due to the lateness of the dates being posted, I had another event to attend. I am helping out with DrupalGovCon 15 here in DC, and will be putting together a lightning talk for D3 at the next Drupal DC meetup.

asherry’s picture

Status: Active » Postponed (maintainer needs more info)

I'm still not able to reproduce this, it might not be a problem with mini panels specifically as i tried creating a few mini panels based d3 blocks and they seem to operate ok. Are there any other white screen errors you're getting that you can add in?

I'm going to mark this as needs more info and postponed until we can properly replicate.