Re: [cowiki-dev] Someone had to set dev.cowiki.org up

Paul Hanchett <[email protected]> Sun, 17 Jul 2005 16:58:13 -0700
Newsgroups gmane.comp.php.cowiki.devel
Message-ID <[email protected]>
Daniel T. Gorski wrote:

>On 05 Jul 23:03, Paul Hanchett wrote:
>
>  
>
>>>It always occured if a "guest user" (and only a guest) changed or created
>>>a document - then an other "document/page" get magically recovered. This
>>>is not very new impression, but I thought about this for a while and came
>>>to the conclusion that the "recovery-methods" provided by Kai Schröder[1]
>>>should be reviewed, as I am 101% sure that this error wasn't there for
>>>almost two years before (of course because the code for recovery wasn't
>>>there), but I have the suspicion that the problem lies somewhere in the
>>>DocumentDAO class, thats has beend changed and provided by Kai: the
>>>recovery stuff.
>>>      
>>>
>
>  
>
>>Answer: some code is executing that shouldn't.  Nothing else could copy 
>>the old record back from history to the current list.  The only place I 
>>found that seems to address this functionality is near line 1518 and 
>>following in class.DocumentDAO.php:
>>    
>>
>
>I tweaked around a bit there and comitted that stuff. Unfortunately I wasn't
>able to test is as it is not reproducible. Maybe it helps.
>
>  
>
Well, thanks for trying...