To reproduce bug:
1) Create a mini panel with a Required Node Context.
2) Fill the content of the mini panel with any node related content, such as "Node content".
3) Create a normal page panel.
4) Add two node contexts, with two different nodes.
5) Add two mini panels to the normal panel, each with a different node context.

View the resulting page. I would expect it to show the contents of the two different nodes. Instead it shows the contents of the first node twice.

Solution: In panels.module, edit panels_render_pane_contents - change the first bit from:

  if (empty($pane->context)) {
    $pane->context = panels_pane_select_context($pane, $display->context);
    if ($pane->context === FALSE) {
      return FALSE;
    }
  }

to:

  $pane->context = panels_pane_select_context($pane, $display->context);
  if ($pane->context === FALSE) {
    return FALSE;
  }

Comments

starbow’s picture

Status: Active » Needs review
esmerel’s picture

Status: Needs review » Closed (won't fix)

No fixes will be added to the 2.x line.