[ 
https://issues.apache.org/jira/browse/JSPWIKI-814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13900299#comment-13900299
 ] 

Brian Burch commented on JSPWIKI-814:
-------------------------------------

Please disregard the last patches for the 3 files. I seem to have a problem 
with the new unti test ans will sort that out soon.

In the meantime, my prerequisite patch to TestEngine is fine. I have applied it 
on its own to the latest trunk and (not surprisingly) it does no harm and all 
tests, including the current VersioningFileProviderTest, all complete 
successfully.

Therefor, I will attach a patch file for the TestEngine change. Would someone 
kindly review and commit it as soon as practical?

> VersioningFileProvider does migrate original page properties
> ------------------------------------------------------------
>
>                 Key: JSPWIKI-814
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-814
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Core & storage
>    Affects Versions: 2.10
>         Environment: ubuntu linux and openjdk 1.7.0_25. mvn test.
>            Reporter: Brian Burch
>            Priority: Minor
>              Labels: features
>             Fix For: FutureVersion
>
>         Attachments: JSPWIKI-814-patch, JSPWIKI-814-patch-author
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The default FileSystemProvider maintains two files for each wiki page. e.g. 
> MyPage.txt has an associated MyPage.properties, which records the timestanp 
> and author of the last change to that page.
> VersioningFileProvider contains logic to "migrate" a wiki page created by 
> FileSystemProvider when it is next updated. This migration works properly for 
> MyPage.txt, but the new change history for the page in the OLD/ subdirectory 
> starts at version 2 and ignores the history available in MyPage.properties.
> Also, the original MyPage.properties remains in "suspended animation", even 
> though the migrated page history has been created.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to