Some unexpected behaviors on the history page
While testing changes for #11517, I noticed the following undesirable behaviors.
- Wiki history: diff of version 1 with version 1 results in Changes between Initial Version and Version 1 of WikiStart, however Initial Version links to /wiki/WikiStart?version=0, which shows a Create this page button.
For the case of wiki pages, version 0 is the non-existent page, so the behavior is not surprising. It would be better though to not have Initial Version be a link.
- Wiki history: diff of version X and X results in display of a diff between version X and X - 1 (this behavior is probably okay).
- Wiki history: Diff of version 2 and 1 results in display of a page indicating a diff of version 1 and 1, with a Delete version 1 button displayed.
- Ticket history: Diff of version 1 and 1 for ticket history or ticket comment history results in a
TracError
.
The other ticket history behaviors are more sensible in that a diff of version 1 and 2 is the same as a diff of version 2 and 1. A diff of version 2 and 2 displays a diff of versions 1 and 2.
I think we could fix issue (4) with the ticket history, and then make the wiki history behave more like the ticket history. JavaScript code that conditionally disabled buttons could be added to guide sensible selections, after the major issues have been fixed in the server-side code.
Change History
(15)
Description: |
modified (diff)
|
Milestone: |
1.0.3 → next-stable-1.0.x
|
Owner: |
Ryan J Ollos removed
|
Status: |
assigned → new
|
Milestone: |
next-stable-1.0.x → next-stable-1.2.x
|
Milestone: |
next-stable-1.2.x → next-stable-1.4.x
|
Milestone: |
next-stable-1.4.x → next-stable-1.6.x
|
#7276 reports the issues described in (1).