Closed (fixed)
Project:
Panels
Version:
6.x-3.x-dev
Component:
Drag and Drop display editing
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jul 2009 at 03:49 UTC
Updated:
3 Aug 2010 at 21:10 UTC
This is what I did. I only did it once, haven't tried again on a fresh variant to see if it's reproducable.
New flexible layout.
Delete the "Center" region.
Click on "Row" and change the settings so it contains columns instead of regions.
Click on "Row" again to add a column but the dropdown still thinks it can only have regions.
Click "Update" to try and force the dropdown to refresh.
Get Errors:
* notice: Undefined index: panel in /path/sites/all/modules/panels/includes/display-edit.inc on line 369.
* warning: Invalid argument supplied for foreach() in /path/sites/all/modules/panels/includes/display-edit.inc on line 369.
Michelle
Comments
Comment #1
Mike_Waters commentedI have the same error.
In Panels 6.x-3.x-dev, ctools 6.x-1.0-rc1, adding a variant to node/%nid, doing pretty much the same process as above.
It is reproducable 100% of the time, and prevents me from using panels with custom fixed-width columns for the node/%nid page. (the panel layout doesn't appear after this error).
EDIT: I was able to get around the error by adding my columns to the default layout, and then removing the default first column after they were configured.
Comment #2
merlinofchaos commentedSince the problem has to do with creating a column one way and changing it to another, I don't see how it prevents you from doing anything.
Comment #3
Mike_Waters commentedAgreed, I apologize for the initial posting; I banged my head against the wall for a while, posted my problem as a comment to this thread, banged my head for a while longer until I was able to work around the problem, then I posted my edit.
Thanks for all your work, I see your name attached to many of the fantastic projects that I use daily.
Comment #4
Mike_Waters commentedI've found that I can get around this error if I make sure each column has a row, and each row has a region, before I update the panel page. HTH someone viewing this page.
Comment #5
merlinofchaos commentedOddly, this is a very rare case of a bug filed against CTools when it's really Panels. This is unusual, usually it's the other way 'round. =)
Comment #6
merlinofchaos commentedChecked in a fix for this.