Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
2.9.1
-
All
Description
In VersioningFileProvider, the function "pageExists" for versions search for the versions of wiki page in the "OLD" directory for that page. The latest version is in the main storage directory. The problem is masked because the PageProvider class handles the case - which it should not. Adding the following code to pageExists and removing the code for PageProvider will resolve this issue:
if( version == WikiPageProvider.LATEST_VERSION || version == latest)
{ return pageExists( pageName ); } else
{