Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-2113

Page diff displays no Content when the last character is different by a new line

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 12.10.1
    • Fix Version/s: None
    • Component/s: Diff
    • Labels:
      None
    • Environment:
      Windows 10 Pro 64 bit, Edge 87, using a local instance of XWiki 12.10.2 on Oracle 19c, Tomcat 9.0.41
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      STEPS TO REPRODUCE

      1. Login as Admin
      2. Go to Administer Wiki > Content > Import
      3. Import the attached XAR (select 'Replace the page history with the history from the package')
      4. Perform a diff between the version from the installed extension and the last revision (or use the following URL: http://localhost:8080/xwiki/bin/view/Main/Search?viewer=changes&rev1=xar:org.xwiki.platform:xwiki-platform-search-ui/12.8&rev2=5.1)

      EXPECTED RESULTS

      The page diff is showing content under 'Content' section.

      ACTUAL RESULTS

      No content is displayed.

      I've tested XCOMMONS-2082 on XWiki 12.6.6 and XWiki 11.10.13 and the issue could not be reproduced.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vmassol Vincent Massol
              Reporter:
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: