Skip to content

Short URL not working after moving page to another subwiki #25

Description

@oanalavinia

Steps to reproduce :

  1. Create a short url for a page from the main wiki
    http://localhost:8080/xwiki/short/{pageID}
  2. Move this page to another subwiki
  3. Try to create a short url for this moved page
    http://localhost:8080/xwiki/short/{wikiName}/{pageID}
  4. 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

Metadata

Metadata

Assignees

Type

Fields

No fields configured for Bug.

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions