Once a mini panel has been added to a feature, it can't be edited/modified.
Trying to edit anything will make all panes disappear (Missing / Deleted content type)
It throws some warnings:
Notice: Undefined property: stdClass::$pid in panels_save_display() (line 935 of /sites/all/modules/contrib/panels/panels.module).
Notice: Undefined property: stdClass::$type in panels_save_display() (line 930 of /sites/all/modules/contrib/panels/panels.module).
Notice: Undefined index: new-787e91c4-f7eb-4413-b027-b30db187a4f5 in panels_edit_display_form_submit() (line 162 of /sites/all/modules/contrib/panels/includes/display-edit.inc).
If not featurized everything seems OK.
Comment | File | Size | Author |
---|---|---|---|
#5 | 2652744-panels-mini-5.patch | 437 bytes | berliner |
Comments
Comment #2
HLopes CreditAttribution: HLopes commentedComment #3
ckngJust ran into this issue. However in my case it looks more severe.
The mini panel could be missing totally and the links to mini panel listing, add or edit are all "missing":
/admin/structure/mini-panels
/admin/structure/mini-panels/add
/admin/structure/mini-panels/list/*/edit
Once export are removed from features, they will work again provided you revert the DB to the working version.
Tested on 7.x-3.5 and 7.x-3.x-dev.
Comment #4
berliner CreditAttribution: berliner commentedGlad I found this issues. I was trying for a while to add a mini panel to my legacy project that has a single featurized mini panel. I do not see any mini panels interface in admin/structure, the only things that's there are the settings pages. No way of adding new or editing the existing mini panel.
This is with Drupal 7.52, Panels 7.x-3.7 in a panopoly install.
Comment #5
berliner CreditAttribution: berliner commentedThe attached patch fixes the problem for me. I can't claim to fully understand the underlying problem, but I needed a quick resolution of this.
Comment #6
HLopes CreditAttribution: HLopes commentedCan confirm, #5 fixes it.
Comment #7
joelpittetIs this still happening for people trying to export mini panels?