Steps to reproduce :
- Create a short url for a page from the main wiki
http://localhost:8080/xwiki/short/{pageID}
- Move this page to another subwiki
- Try to create a short url for this moved page
http://localhost:8080/xwiki/short/{wikiName}/{pageID}
- Observe the 2 links and try to access them both
Expected result:
Both URL will redirect to the same page, which is now in a subwiki
Actual result:
The initial URL will not redirect anymore to the page. This will result in broken links
Note that it is normal that the links are different, since the URL needs to contain the wiki id (used after for finding the page). The actual problem is that the initial link will not work anymore
This might be the expected behavior (to not support pages moved to other wikis), but we need to check if there isn't a way to solve it or simply mention it in the documentation
Steps to reproduce :
http://localhost:8080/xwiki/short/{pageID}http://localhost:8080/xwiki/short/{wikiName}/{pageID}Expected result:
Both URL will redirect to the same page, which is now in a subwiki
Actual result:
The initial URL will not redirect anymore to the page. This will result in broken links
Note that it is normal that the links are different, since the URL needs to contain the wiki id (used after for finding the page). The actual problem is that the initial link will not work anymore
This might be the expected behavior (to not support pages moved to other wikis), but we need to check if there isn't a way to solve it or simply mention it in the documentation