Using more than 10 arguments does not work
| Project: | Panels |
| Version: | 6.x-3.0-beta2 |
| Component: | Panel pages |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | won't fix |
Jump to:
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
| Attachment | Size |
|---|---|
| panel_screen1.jpg | 126.65 KB |
| panel_screen2.jpg | 293.21 KB |

#1
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
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.