|
From: Stefan <son...@ba...> - 2007-01-26 18:35:58
|
Hello Manuel,
i have inserted the patch here but the result for me is the same as
before (1.3.13 RC2)
Entering a delteted page with the deleted page link in "recend changes"
there is a message to create the page. open the page with the full
linkname in browser url field (widthout action=create) the page is shown
as before i deleted it. i will make the code tests to see when it stops.
Stefan
Manuel Vacelet wrote:
> 2007/1/23, Reini Urban <ru...@x-...>:
>
>> Manuel Vacelet schrieb:
>>
>>> 2007/1/20, Stefan <son...@ba...>:
>>>
>>>> Hello Manuel,
>>>>
>>>> how do you access the page? If you access it with the link in recent
>>>> changes (?) you are right.
>>>> If you access the page with the url of the deleted page put it direct in
>>>> the browser url field you will see the deleted page again.
>>>>
>>> Unfortunatly I think it's not a cache issue (at least neither proxy
>>> nor browser cache) because I tried to load page2 from a different
>>> browser on a different machine.
>>>
>>> Moreover, I already set cache settings to NO_CACHE :/
>>>
>> No, I meant our internal pagedb ache, not the browsers cache.
>>
>
> I found a solution.
>
> In getPackedContent method, I added a test to verify if the requested
> page is not deleted:
> ----------------------->8-----------------------
> if (empty($data['%content'])
> || (!$this->_wikidb->isWikiPage($this->_pagename)
> && $this->isCurrent())) {
> ----------------------->8-----------------------
>
> The remove a page will lead to following use case.
> On page deletion:
> - Page history add a mark about deletion.
> - Links in other pages show the page as not existing.
> - Direct access to the page give the same behaviour (Describe %s here).
> - Page history show the previous states of the page.
> - Access to an old revision of the page output the content of this old version.
>
> Is my fix right ?
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Phpwiki-talk mailing list
> Php...@li...
> https://lists.sourceforge.net/lists/listinfo/phpwiki-talk
>
>
>
|