Description

Nathan Reynolds reported this on IRC, I haven't tried it, sorry. Apparently it is not possible to revert to an underlay revision of a page. He created a brand new wiki, and edited the FrontPage. When he wanted to revert to the first revision of FrontPage, this wouldn't work because the first revision isn't even displayed in "Get Info" (because it lives in underlay).

Steps to reproduce

  1. edit an underlayed page so it moves to data
  2. try reverting that change

Details

Should work on this wiki if it uses underlay, Nathan was using Apache/with mod_py

Workaround

Reverting to underlay can be done by simply deleting the page (select Delete Page from the More Actions menu). The underlay page will be revealed. You can recreate the page again to hide the underlay page again.

Discussion

The question is -- how can one fix this? The edit would have to note which revision of the page in underlay it was modified from, as underlay can change below.

This is not really a bug, maybe move this into the FAQ. -- NirSoffer 2005-02-22 01:32:26

This is a bug. You cannot expect users to not revert link-spam on their wiki if the link-spam-bot edited a page that was still in underlay. Also, the only way to recover the page is to manually copy it from MoinMaster or from the underlay directory. -- JohannesBerg 2005-02-22 11:41:27

-- NirSoffer 2005-02-22 11:45:52

Practically, delete page is just what you want most of the time, even if its not the "correct" things to do. This fix should be easy - but it might create problems with other code that does not expect to find revision number 1, or can create problems with upgrading existing wikis. For example, what are you going to do with existing wikis that does not have the underlay page as revision 1?

Unless users demand a fix, we better not touch it in 1.3. -- NirSoffer 2005-03-04 22:25:19

Plan


CategoryMoinMoinBugConfirmed

MoinMoin: MoinMoinBugs/CannotRevertToUnderlay (last edited 2007-10-29 19:20:21 by localhost)