Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@locus.apache.org Received: (qmail 71661 invoked from network); 30 Oct 2008 21:07:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Oct 2008 21:07:05 -0000 Received: (qmail 66041 invoked by uid 500); 30 Oct 2008 21:07:10 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 66026 invoked by uid 500); 30 Oct 2008 21:07:10 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 66012 invoked by uid 99); 30 Oct 2008 21:07:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Oct 2008 14:07:10 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Oct 2008 21:06:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 87DF5234C256 for ; Thu, 30 Oct 2008 14:06:44 -0700 (PDT) Message-ID: <1949574570.1225400804555.JavaMail.jira@brutus> Date: Thu, 30 Oct 2008 14:06:44 -0700 (PDT) From: "Harry Metske (JIRA)" To: jspwiki-dev@incubator.apache.org Subject: [jira] Updated: (JSPWIKI-406) Renaming a page back to the old name destroys text changes of the page In-Reply-To: <1351689097.1225387844767.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.