Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#1244 closed defect (duplicate)

Switching diff mode in wiki page history displays WikiStart page

Reported by: kilian.cavalotti@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: wiki system Version: 0.8
Severity: normal Keywords: diff display
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christopher Lenz)

Not sure if it's related to the use of mod_python, but trac 0.8 (debian apt-get'ed, using mod_python) displays the root wiki page when switching the diff view of any wiki page (sidebyside/inline)

To reproduce :

  1. go to any wiki page
  2. click on page history, then on the diff link of any revision
  3. change the diff display mode (switch from inline to sidebyside, or reverse)
  4. you should see the diff of the wiki front page (WikiStart) for the chosen revision, instead of the diff of the current page.

To resolve:

--- wiki.cs.old 2004-12-21 02:17:36.000000000 +0100
+++ wiki.cs     2005-03-03 14:52:56.707563928 +0100
@@ -22,7 +22,7 @@
  <?cs if:wiki.action == "diff" ?>
   <h1>Changes in Version <?cs var:wiki.edit_version?> of <a href="<?cs
     var:wiki.current_href ?>"><?cs var:wiki.page_name ?></a></h1>
-  <form method="post" id="prefs" action="<?cs var:cgi_location ?>">
+  <form method="post" id="prefs" action="<?cs var:wiki.page_name ?>">
    <div>
     <input type="hidden" name="mode" value="wiki" />
     <input type="hidden" name="diff" value="yes" />

Attachments (0)

Change History (3)

comment:1 by anonymous, 19 years ago

Summary: Switching diff mode in wiki page changes brings back WikiStart Switching diff mode in wiki page history displays WikiStart page

comment:2 by Christopher Lenz, 19 years ago

Description: modified (diff)
Resolution: duplicate
Status: newclosed

Duplicate of #1007.

comment:3 by kilian.cavalotti@…, 19 years ago

Sorry, didn't see the previous report. However, the debian sid package comes with the bug.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.