[ 
https://issues.apache.org/jira/browse/JSPWIKI-406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Harry Metske updated JSPWIKI-406:
---------------------------------

    Attachment: JSPWiki-406.patch

Attached patch solves the problem, I don't remember exactly but I think OSCache 
has some strange behavior when removing entries from the cache. I now use 
putInCache(key,null) instead of removeEntry(key). This was already done when 
deleting a page.

However, I haven't committed yet because my tests don't run correctly. Running 
"ant tests" gets stuck at com.ecyrd.jspwiki.providers.FileSystemProviderTest 
with a lot of disk activity. 
Also running the JUnit test in Eclipse doesn't end, it keeps running in 
testScandinavianLetters.
No time yet to find that out yet.

to be continued......

> Renaming a page back to the old name destroys text changes of the page
> ----------------------------------------------------------------------
>
>                 Key: JSPWIKI-406
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-406
>             Project: JSPWiki
>          Issue Type: Bug
>    Affects Versions: 2.8
>         Environment: Red Hat Linux and Windows Vista, Apache Tomcat v6.x
>            Reporter: Stefan Bohn
>            Priority: Critical
>             Fix For: 2.8.1
>
>         Attachments: JSPWiki-406.patch
>
>
> 1) Create a page and enter some text.
> 2) Rename the page
> 3) Change the text
> 4) Rename the page back to the old name
> 5) Changes in Step 3 are lost in the actual revision (a revision with the 
> changes is created)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to