Just upgraded to version 7.x-3.2 and panels views appear to have stopped passing 'taxonomy term from node', and in fact no longer list it although there is Term from node, now all replaced by Taxonomy Term From Content.

I'm also getting error such as:
Notice: Undefined index: body_classes_to_add in panels_panel_context_edit_settings() (line 740
Notice: Undefined variable: columns in include()
Notice: Undefined index: body_classes_to_remove in panels_panel_context_edit_settings()

At the same time as updating this I also updated Chaos Tools to 7.x-1.0-rc2 and Rules to 7.x-2.1

Any thoughts appreciated.

CommentFileSizeAuthor
#3 Problem Variant.txt10.86 KBvideographics
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

saratsubolg’s picture

Category: support » bug

Notice: Undefined index: body_classes_to_remove в функции panels_panel_context_edit_settings() (строка 732 в файле /home/ofis/exprint.in.ua/test/sites/all/modules/panels/plugins/task_handlers/panel_context.inc).
Notice: Undefined index: body_classes_to_add в функции panels_panel_context_edit_settings() (строка 740 в файле /home/ofis/exprint.in.ua/test/sites/all/modules/panels/plugins/task_handlers/panel_context.inc).

Got the same bug after updating.

Letharion’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

I'm not sure how Ctools is handling, and possibly updating context handling, but "Term from node" seems like legacy configuration from D6 and "Taxonomy Term From Content" being the correct way to handle terms in Drupal 7.

Since neither of you post anything I can use to determine what's happening, I can't help further, but it sounds to me like this could be easily solved by re-saving the page, or replacing old "node" and "term" contexts with "content" and "taxonomy term" instead.

If that's the case, perhaps it should be considered a missing feature in the upgrade path, but I would need to talk to merlin about that.

videographics’s picture

FileSize
10.86 KB

I just got this as I was cloning a Node add/edit form variant in panels with 7.x-3.2.

Notice: Undefined index: body_classes_to_remove in panels_panel_context_edit_settings() (line 732 of /example.com/sites/all/modules/panels/plugins/task_handlers/panel_context.inc).
Notice: Undefined index: body_classes_to_add in panels_panel_context_edit_settings() (line 740 of /example.com/sites/all/modules/panels/plugins/task_handlers/panel_context.inc).

The error is reproducible when cloning the attached panels variant.

This is a pure D7 project. Nothing was migrated from D6.

Letharion’s picture

Category: support » bug
Status: Postponed (maintainer needs more info) » Active
Yuri’s picture

The same error appears when I cloned a page variant in Panels, as mentioned here http://drupal.org/node/1627698

Dukuu’s picture

Title: Issue passing Taxonomy Term ID to views » Export then import gives error

Export then import gives errors (Panels 7.x-3.2+5-dev):
The page has been updated and saved.
Notice: Undefined index: body_classes_to_remove in panels_panel_context_edit_settings() (line 732 of Z:\home\test\www\sites\all\modules\panels\plugins\task_handlers\panel_context.inc).
Notice: Undefined index: body_classes_to_add in panels_panel_context_edit_settings() (line 740 of Z:\home\test\www\sites\all\modules\panels\plugins\task_handlers\panel_context.inc).
Original exported code was made on 7.x-3.0-alpha3
The layout has only content type context in use: "Node: type Node being viewed is type MyCustomType"

Dukuu’s picture

Title: Export then import gives error » Issue passing Taxonomy Term ID to views

sorry, changed title. Changing back.

merlinofchaos’s picture

Status: Active » Postponed (maintainer needs more info)

The initial report contains two completely unrelated errors, and people are responding to whichever error they wish. That's causing htis issue to become very messy.

Can we focus? Which error is this issue about? Presumably it's about the title. Can I get the issue summary edited to reflect the proper report so we can actually look at it?

esmerel’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

More "not focused" than "won't fix" - this issue is too clouded to focus on at this point.

sonicthoughts’s picture

there is a cross reference with http://drupal.org/node/1627698. This happens when I clone a panel in OpenOutreach RC8.