Using more than 10 arguments does not work

haggins - July 4, 2009 - 18:19
Project:Panels
Version:6.x-3.0-beta2
Component:Panel pages
Category:bug report
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

Hello,
I created a panel page which contains 12 monthly views of the calendar module. You can call calendar/2009-07 to get a monthly view of july 2009. So I set the argument list of the first view-item in the pane to "@0", and "@1" to the second one etc. up to "@11" for the twelth month. (see attachment 1)

Now I can access "panel_path/2009-07/2009-08/[...]/2010-06" to get a list-like view of twelth months as monthly-views. This is working well for july to april, but may ("@10") takes argument #2 (= august) and june is a total different thing as expected. (attachment 2)

Any idea whats wrong here? I didn't find any bug report related to the amount of delivered arguments. Hope you can help me!

haggins

AttachmentSize
panel_screen1.jpg126.65 KB
panel_screen2.jpg293.21 KB

#1

casey - July 8, 2009 - 22:48

My first guess is that this has something to do with drupal's menu system; it only allows paths with 7 parts.

see includes/menu.inc

<?php
/**
* The maximum number of path elements for a menu callback
*/
define('MENU_MAX_PARTS', 7);
?>

#2

merlinofchaos - July 21, 2009 - 21:20
Status:active» won't fix

I've decided not to fix this. I want people to use @ and % less anyway. Use a 'raw string' context and then pass the proper context to the view.

 
 

Drupal is a registered trademark of Dries Buytaert.