Details
-
Bug
-
Resolution: Fixed
-
Major
-
4.4
-
Integration
-
Unknown
-
N/A
-
N/A
-
Description
Steps to reproduce:
- create a new page on the Main space using the top menu: Add>Page
- name the page test 1.0
Result:
- the top menu link is:
http://localhost:8080/xwiki/bin/view/test+1/0
- the top menu link should be:
http://localhost:8080/xwiki/bin/view/Main/test+1.0
The link should be generated using $doc.getURL('view')
... #if (!$displayPageSubmenu) #xwikitopmenuentry($xwiki.getURL("${doc.name}", 'view') "$msg.get('core.menu.type.page')__SEPARATOR__$!{escapetool.xml($doc.name)}" 'tmPage' 'hasIcon') #else #xwikitopmenuentrystart($xwiki.getURL("${doc.name}", 'view') "$msg.get('core.menu.type.page')__SEPARATOR__$!{escapetool.xml($doc.name)}" 'tmPage' 'hasIcon') ...
Attachments
Issue Links
- links to