Description
Editing a page results in no obvious error messages, but the changes never show up once editing is done. Revisions show that the changes have been stored, but when MoinMoin views the page in question, only an earlier, unedited revision is displayed.
Component selection
- general
The problem occurred after changing the date and time of the server machine. The clock was incorrectly set an hour ahead (12:22pm), so a "date" command was issued in a terminal to set it to the proper time (11:22am). Once this happened, MoinMoin no longer displayed the last revisions of pages but instead the most recent revisions i.e. revisions that appear to have been made in the future. Thus, editing a page creates a revision whose created_at or similar field is earlier than other revisions, resulting in it not being displayed.
This is probably caused by the way MoinMoin chooses revisions to display. If MoinMoin picks the one created most recently (by created_at, etc. field), then this issue will continue to occur. If instead, MoinMoin were to choose the correct revision by greatest ID, time and date would not affect the choice.
Steps to reproduce
Try it!
Setup a default MoinMoin server.
- Create and edit wiki pages.
- On the host, set the clock back an hour.
- Attempt to edit pages. Revisions will be created, but only the ones with the greatest creation field will be displayed.
Details
MoinMoin Version |
1.7.1 |
OS and Version |
Xubuntu 8.04 |
Python Version |
2.5.2 |
Server Setup |
default |
Server Details |
defaults |
Language you are using the wiki in (set in the browser/UserPreferences) |
English |
Workaround
Temporarily set the server's date forward, edit pages, then set the clock back to the current time.
Discussion
Plan
- Priority:
- Assigned to:
- Status: clear your cache. moin maint cleancache