When placing nodes into drupal through IPE using panelizer i'm getting duplicate versions of the node and a panelizer 500 error (screenshots attached).

Looked at http://drupal.org/node/1412022 issue as it appered to be the closest to this error. Applied patch in #22 and still getting duplicate entries.

d 7.17
latest dev versions of panels & panelizer (2012-Nov-17)

Many thanks

Comments

kingfisher64’s picture

StatusFileSize
new4.41 KB
new9.07 KB

I've tried all available settings for an article content content type (panelizer-settings.png). Repeating the same process for each and it's consistently outputting duplicate panels (2 & sometimes 4 to be precise) and when the save button is clicked that 500 error. So sort of good that it's consistent behaviour.

I'm using the latest stable version of http://drupal.org/project/at_panels_everywhere theme & 7.x-1.0-rc1 of panels everywhere.

So in summary:

drupal 7.17
latest dev versions of panels, ctools & panelizer (2012-Nov-17)
panels everywhere 7.x-1.0-rc1
at panels everywhere
its not a panopoly distro &

An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /panels/ajax/ipe/save_form/panelizer%3Anode%3A3%3Apage_manager
StatusText: Service unavailable (with message)
ResponseText: PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '61' for key 'PRIMARY': INSERT INTO {panels_pane} (pid, did, panel, type, subtype, shown, access, configuration, cache, style, css, extras, position, locks) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9, :db_insert_placeholder_10, :db_insert_placeholder_11, :db_insert_placeholder_12, :db_insert_placeholder_13); Array
(
[:db_insert_placeholder_0] => 61
[:db_insert_placeholder_1] => 14
[:db_insert_placeholder_2] => two_50_second
[:db_insert_placeholder_3] => block
[:db_insert_placeholder_4] => system-powered-by
[:db_insert_placeholder_5] => 1
[:db_insert_placeholder_6] => a:0:{}
[:db_insert_placeholder_7] => a:2:{s:14:"override_title";i:0;s:19:"override_title_text";s:0:"";}
[:db_insert_placeholder_8] => a:0:{}
[:db_insert_placeholder_9] => a:0:{}
[:db_insert_placeholder_10] => a:0:{}
[:db_insert_placeholder_11] => a:0:{}
[:db_insert_placeholder_12] => 1
[:db_insert_placeholder_13] => a:0:{}
)
in drupal_write_record() (line 7106 of C:\wamp\www\active-local-projects\core\includes\common.inc).

In addition to this error there's also a mystery blank field showing up in the ipe (screenshot mystery-panel.png). It's the article content type. URL redirects & URL path settings are "non output" fields could this panelized field be one of these? Not sure if it's related to the above problem.

EDIT

after more trawling through issues http://drupal.org/node/1737766 sounds again similar, but not the same. Would applying #5 patch be relevant to this issue?

kingfisher64’s picture

For anybody else finding this issue.

Temporarily fixed:

Downgraded modules to

panels 7.x-3.3 (2012-Aug-18) - #6 patch from http://drupal.org/node/1828684 does need to be applied though.
ctools - 7.x-1.x-dev (2012-Nov-17)
panels everywhere 7.x-1.0-rc1 (2012-Jul-11)
panelizer 7.x-3.x-dev (2012-Nov-17) - issue still exists with rc1 release.

merlinofchaos’s picture

Priority: Major » Normal

Technically -dev isn't a downgrade, since that's the most recent.

If the bug happens with -rc1 and not with -dev that suggests that it's actually fixed in the -dev and there's nothing else that needs to be done here?

kingfisher64’s picture

Updating ctools to latest dev version as hiding block title for example wasn't working.

merlinofchaos’s picture

I'm sorry, now I'm confused about what's happening in what version.

kingfisher64’s picture

Ok. I'll try my best to clarify. The following is based on a new drupal 7.17 install.

The following setup removes the duplicate content problem
. However after believing this was now sorted there was a further issue. I created site template from http://drupal.org/project/at_panels_everywhere theme. When adding for example a system menu the block title would not override (to hidden).

panels 7.x-3.3 (2012-Aug-18) - #6 patch from http://drupal.org/node/1828684 does need to be applied though.
ctools - 7.x-1.2 (2012-Aug-18) - stable
panels everywhere 7.x-1.0-rc1 (2012-Jul-11)
panelizer 7.x-3.x-dev (2012-Nov-17) - duplicate content issue still exists with rc1 release.

So I upgraded to latest ctools dev. The following setup to the best of my knowledge works fine with hiding block title content and there are no duplicate issues.

panels 7.x-3.3 (2012-Aug-18) - #6 patch from http://drupal.org/node/1828684 does need to be applied though.
ctools - 7.x-1.x-dev (2012-Nov-17)
panels everywhere 7.x-1.0-rc1 (2012-Jul-11)
panelizer 7.x-3.x-dev (2012-Nov-17) - duplicate content issue still exists with rc1 release.

With this said I havn't dared upgrade panels to the latest dev version as I was experiencing the duplicate content issue with all modules upgraded to dev versions. I'm somewhat confused myself as to how upgrading all mods to latest dev causes this duplicate issue to occur?

damienmckenna’s picture

Component: Code » IPE integration
Issue summary: View changes