= Description = ## Please read this page. Lines prefixed with ## such as this one are comments, ## you can remove them (except for those after the "Plan" section.) ## Please follow the instructions given in those comments and the text. ## After creating the bug page, please subscribe to it! We may have questions ## that only you can answer, and if you get email when your bug changes it'll ## be much faster to get it fixed since you can answer the questions! 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 == ## Where you think is this bug happening ? (general, plugin [plugin name], theme [theme name], ... * 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! ## Describe the steps needed to reproduce the bug. If we can't reproduce it, we probably can't fix it. 1. Setup a default MoinMoin server. 1. Create and edit wiki pages. 1. On the host, set the clock back an hour. 1. Attempt to edit pages. Revisions will be created, but only the ones with the greatest creation field will be displayed. == Details == ## If you got a traceback, please save the traceback page as html and attach here: ## [[attachment:traceback.html]] ## if the bug is in this wiki, just kill the table and write: This Wiki. ## If a traceback is not available, please fill in the details here: || '''!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 == ## How to deal with the bug until it is fixed Temporarily set the server's date forward, edit pages, then set the clock back to the current time. = Discussion = = Plan = ## This part is for Moin``Moin developers: * Priority: * Assigned to: * Status: clear your cache. moin maint cleancache ---- ## If you are a moin core developer, replace the category to Category* in these cases: ## Category MoinMoinNoBug - if this is not a bug. ## Category MoinMoinBugConfirmed - if you can confirm the bug on current code. ## Category MoinMoinBugFixed - after the bug is fixed in current code. CategoryMoinMoinNoBug