Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-814

VersioningFileProvider does migrate original page properties

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.10
    • Fix Version/s: 2.10.1
    • Component/s: Core & storage
    • Labels:
    • Environment:

      ubuntu linux and openjdk 1.7.0_25. mvn test.

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              brianb2 Brian Burch
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified