[Trac-tickets] [The Trac Project] #1643: Diff update does not work after [1768]

The Trac Project noreply at edgewall.com
Tue Jun 7 07:04:48 CDT 2005


#1643: Diff update does not work after [1768]
--------------------+-------------------------------------------------------
       Id:  1643    |      Status:  new                     
Component:  wiki    |    Modified:  Tue Jun  7 07:04:37 2005
 Severity:  normal  |   Milestone:  0.9                     
 Priority:  high    |     Version:  devel                   
    Owner:  cmlenz  |    Reporter:  eblot                   
--------------------+-------------------------------------------------------
 I may have missed a point, but it seems the last changeset broke the diff
 feature.

 The get_diff_options(req) method checks for 'update' key which is not
 produced by the wiki.cs template anymore.

 A quick patch like the following one may be one solution:
 {{{
 Index: templates/wiki.cs
 ===================================================================
 --- trac/templates/wiki.cs      (revision 1768)
 +++ trac/templates/wiki.cs      (working copy)
 @@ -79,6 +79,7 @@
       </div>
      </fieldset>
      <div class="buttons">
 +     <input type="hidden" name="update" />
       <input type="submit" value="Update" />
      </div>
     </div>
 }}}

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/1643>
The Trac Project <>


More information about the Trac-Tickets mailing list