Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-9124

Distribution Wizard upgrades too many documents even when there are no changes in them

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.1
    • Fix Version/s: 4.5.4, 5.0.2, 5.1-milestone-1
    • Component/s: Old Core
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      For example the Main.Welcome page is updated (a new revision is created) by the DW even if this page has not been modified.

      The reason is because this page content ends with a new line and the XWiki Diff tool doesn't handle properly content ending with a new line (it discards it and thus thinks the content has changed).

        Attachments

          Activity

            People

            Assignee:
            vmassol Vincent Massol
            Reporter:
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: