-
Bug
-
Resolution: Fixed
-
Low
-
5.5
-
None
If you move a page with only a single current version to a new space I would expect requests to the old location to show the "The page you were looking for may have moved to another space" message with a link to the new location. It doesn't. If you make a subsequent edit of the page in the new location, the old location will now show this message.
This looks like a problem with PageManager.getPossibleRedirectsNotInSpace(Space space, String pageTitle, int maxResultCount)
To reproduce:
Create a new page in space A
Move it to space B
Request the page from space A by going to the original url, not that it just shows the 404 page
Edit the page in space B
Again request the page from space A, not it shows the redirection information.