Here is the notice I have in my logs:

Emplacement http://toto.com/node/5/panel_content
Référent http://toto.com/node/5/panel_content
Message Notice : Undefined index: new-2 dans panels_edit_display_form_submit() (ligne 161 dans /var/www/toto.com/sites/all/modules/panels/includes/display-edit.inc).

Comments

merlinofchaos’s picture

Status: Active » Postponed (maintainer needs more info)

Unfortunately I need context -- what is actually happening when this notice is generated?

Also, -alpha3 is awfully old. Bug reports against a version that old aren't valuable; please update to a recent version. If you don't update, a fix won't help you anyway.

esmerel’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
Patricia_W’s picture

Version: 7.x-3.0-alpha3 » 7.x-3.2

I'm having a similar problem with 7.x-3.2
The error is Notice: Undefined index: 12 in panels_edit_display_form_submit()
It happens when I attempt to update and save a Front page panel

chrisschaub’s picture

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

This is still a bug with the latest dev. You save a panel with ipe, then re-edit, add another pane, the previous pane disappears. If you hard refresh the page between saves, it doesn't happen. So, somehow IPE loses the previous pane after you edit and save the second time. Testing with panel nodes. I've tested with Bartik as well.

chrisschaub’s picture

Status: Closed (cannot reproduce) » Active
merlinofchaos’s picture

#4 doesn't seem to be related to the issue here. Are you sure you posted this in the right place?

merlinofchaos’s picture

Also, the issue in #4 sounds like something I committed a fix for about 2 months ago. Are you *sure* you're using the latest -dev of Panels?

chrisschaub’s picture

Yeah, I saw that commit. But the bug still persists for me. I'm going to try to track it down, but I've tried with the recommended release and the latest dev of ctools and panels.

chrisschaub’s picture

Ok, just did a clean install of Drupal 7.20 with latest dev of panels and ctools (also have same problem with recommended versions).

1. Create a custom panel node, IPE as the pipeline
2. Add a custom content pane, save
3. Add another custom content pane, save

You'll notice that the first custom content pane is gone after the second save. If you hard refresh the page in between adding the panes, then they are retained.

The watchdog log says:

Notice: Undefined index: 3 in panels_edit_display_form_submit() (line 163 of sites/all/modules/panels/includes/display-edit.inc). I put it under this bug because it seems like the same problem, same file and almost the same line number. But maybe I should open a new issue? I've tested on firefox and chrome in both Winders and Linux.

Anyway, I think this is a real bug with IPE keeping track of multiple edits / saves. I'm not using any wysiwyg or any other modules other than panels, ctools and views.

Thanks for any help!

merlinofchaos’s picture

cschaub: As per #6, this issue still isn't the right place to post. Please open a new issue (when you do, I've reproduced the bug and know roughly what's wrong, but I don't want to work on it here); unfortunately, we've really derailed this issue. I'm going to unpublish a bunch of comments to make sure this issue doesn't get diluted.

merlinofchaos’s picture

Actually, I just cut & pasted and opened: #1930448: Panel nodes and IPE can lose new panes