Posted by chx on August 16, 2008 at 3:29pm
6 followers
| Project: | Drupal core |
| Version: | 7.x-dev |
| Component: | menu system |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Issue Summary
Check whether menu_get_item finds the relevant router item. Create items for the following paths: test, test/test, test/test/%, test/%test and check the following paths: test (matches test), test/1 (matches test/%test), test/1/test (matches test/%test again and passes in test as argument to the page callback), test/test (matches test/test), test/test/test (matches test/test/%). Feel free to replace 'test' in the above with any other string of course.
Comments
#1
#4
i tryed to create this test but
//test/1 (matches test/%test),//test/1/test (matches test/%test again and passes in test as argument to the page callback),
didn't returned what chx expected. Both returned 'test' as path of the router_item.
i expect i'm doing something wrong
#5
PNR to see what the bot thinks of this patch today.
#6
The last submitted patch failed testing.
#7
Moving this out of the critical bugs queue - see #607038: Meta issue: fix gaps in code coverage.