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.

CommentFileSizeAuthor
#5 2652744-panels-mini-5.patch437 bytesberliner
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

HLopes created an issue. See original summary.

HLopes’s picture

Issue summary: View changes
ckng’s picture

Version: 7.x-3.5 » 7.x-3.x-dev

Just 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.

berliner’s picture

Glad 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.

berliner’s picture

Status: Active » Needs review
FileSize
437 bytes

The 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.

HLopes’s picture

Can confirm, #5 fixes it.

joelpittet’s picture

Status: Needs review » Postponed (maintainer needs more info)

Is this still happening for people trying to export mini panels?