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.
Comment | File | Size | Author |
---|---|---|---|
#3 | Problem Variant.txt | 10.86 KB | videographics |
Comments
Comment #1
saratsubolg CreditAttribution: saratsubolg commentedGot the same bug after updating.
Comment #2
Letharion CreditAttribution: Letharion commentedI'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.
Comment #3
videographics CreditAttribution: videographics commentedI just got this as I was cloning a Node add/edit form variant in panels with 7.x-3.2.
The error is reproducible when cloning the attached panels variant.
This is a pure D7 project. Nothing was migrated from D6.
Comment #4
Letharion CreditAttribution: Letharion commentedComment #5
Yuri CreditAttribution: Yuri commentedThe same error appears when I cloned a page variant in Panels, as mentioned here http://drupal.org/node/1627698
Comment #6
Dukuu CreditAttribution: Dukuu commentedExport 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"
Comment #7
Dukuu CreditAttribution: Dukuu commentedsorry, changed title. Changing back.
Comment #8
merlinofchaos CreditAttribution: merlinofchaos commentedThe 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?
Comment #9
esmerel CreditAttribution: esmerel commentedMore "not focused" than "won't fix" - this issue is too clouded to focus on at this point.
Comment #10
sonicthoughts CreditAttribution: sonicthoughts commentedthere is a cross reference with http://drupal.org/node/1627698. This happens when I clone a panel in OpenOutreach RC8.