Hi all,

I add Panel pages to both D5 & D6, and just edit the Path.

Panel pages -> Settings
Path: node/10

then, I view the page ?q=node/10

Result
D5: show node content
D6: show blank content

one of them must be a bug, right ? which one is correct?
Panels version: 5.x-2.0-rc1a / 6.x-2.x-dev

Comments

sdboyer’s picture

Category: bug » support
Status: Active » Closed (works as designed)

one of them must be a bug, right ?

Actually, no. The huge number of changes in drupal core's menu system has had the unavoidable effect of changing a number of behaviors.

However, statically assigning a path to include a particular nid, as you've done here, really isn't the intended use. I'm a bit surprised it even works. This is kind of thing is one of the reasons we're getting rid of that 'Path' box in favor of a better system.

Actually, "isn't the intended use" isn't the best way of saying it: it's a perfectly reasonable thing to want, but the intention isn't that you achieve that end using the path. You should either be using node/% and a nid argument, or a plain node context set to nid=10.