Bug #944
closedSub-menu path resolving
0%
Description
I am using two level menu. When I select a an item "subitemA1" which is in sub-menu of item "itemA" a path "http://127.0.0.1/itemA/itemA1" is generated (using "menu->setInternalPathEnabled("/");" and "subMenuA->setInternalPathEnabled("itemA/");" ). But if I write this path to the browser (Opera), the application (server) write out an error message and only "itemA" become selected instead if "subitemA1"
127.0.0.1 - - [2011-Aug-10 10:11:30.270263] "GET /itemA/itemA1 HTTP/1.1" 200 1635
[2011-Aug-10 10:11:30.505691] 1345 [/ hbf1vKqCnODinvco] [error] "WMenu: unknown path: 'itemA'"
In Firefox is path longer and longer with each selection in sub-menus (e.g. "http://127.0.0.1/itemA/itemB/itemA/itemA1").
Should I use setPathComponent() on each item instead of setInternalPathEnabled on each menu?
Files
Updated by Koen Deforche over 13 years ago
- Status changed from New to Resolved
- Assignee set to Koen Deforche
- Target version set to 3.1.11
Hey,
I believe I have fixed this but forgot to resolve the bug when I pushed the change to the git repo. Could you confirm ?
Regards,
koen
Updated by Koen Deforche about 13 years ago
- Status changed from Resolved to Closed
Resolved in Wt 3.1.11