When changing the settings of several swikis from unprotected to password
protected, I encountered the following bug.
(Windows platform, latest VM and Squeak2.9 alpha with all updates, ComSwiki
10).
All pages created or changed in the unprotected swiki are dated in the
format '12/7/2000' (for 12 July 2000). However, in the password protected
variant, these dates - when read from the xml pages - are interpreted as 7
December 2000 (this is also the result of evaluating '12/7/2000' asDate, so
I suspect that in the password protected swiki asDate is used, while in the
unprotected swiki this String is converted into a Date in another way).
The resulting behavior is that no page can be edited anymore, because the
previous versions will appear more recent (actually much further away into
the future!). This is maybe the problem that was reported a few days ago.
I changed, by hand, all the dates in all the pages (also the x.old ones!)
into the format 'day monthname year' instead of 'day/month/year', and
editing became possible again. A tedious job, but I hadn't enough time to
provide a real fix (I expect it is a pretty simple one though).

Hans 


Reply via email to