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

                 Key: XWIKI-1983
                 URL: http://jira.xwiki.org/jira/browse/XWIKI-1983
             Project: XWiki Platform
          Issue Type: Bug
          Components: Templates, Skins & User Interface
    Affects Versions: 1.2 RC2
            Reporter: Sergiu Dumitriu
             Fix For: 1.2 RC3


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
notifications mailing list
notifications@xwiki.org
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to