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

"Version $request.rev2" displayed in the version compare interface

    XMLWordPrintable

Details

    • bugfixingweek

    Description

      When not selecting a "from" or "to" version and displaying the version compare, the code assumes the parameters are always there, and compares some null objects.

      It should behave like this:

      • If no "from" and "to" versions are chosen, make a diff between the last 2 versions
      • If no "from" is chosen, compare between "to-1" to "to"
      • In no "to" is chosen, compare between "from" and "from+1".

      -1 and +1 should take into consideration the "show minor edits" option.

      Attachments

        Issue Links

          Activity

            People

              amelentev Artem Melentev
              sdumitriu Sergiu Dumitriu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: