Edgewall Software
Modify

Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#887 closed defect (invalid)

Next/Prev links in Changeset does not work using ModPython

Reported by: anonymous Owned by: cmlenz
Priority: normal Milestone:
Component: version control/changeset view Version: devel
Severity: normal Keywords:
Cc:
Release Notes:
API Changes:

Description

The recent changes made for #872 to add next/previous links in the changeset view does not work when using modpython. It works using CGI, though.

Attachments (0)

Change History (4)

comment:1 Changed 9 years ago by cmlenz

  • Owner changed from jonas to cmlenz

It sure works for me. Please provide more details… what do you mean with "does not work": do you get an error (if yes, what's the message and traceback), are the links incorrect (if yes, what are they pointing to), etc.

comment:2 Changed 9 years ago by anonymous

The links do not show up. Here is the what the raw HTML looks like:

<div id="ctxtnav" class="nav">

 <h2>Changeset Navigation</h2>
 <ul>
 </ul>
</div>

The list is empty.

If I use CGI mode on the same changeset, I get this:

<div id="ctxtnav" class="nav">
 <h2>Changeset Navigation</h2>
 <ul>
   <li class="first last">
    <a class="prev" href="/trac/tceng_web/changeset/30" title="Changeset 30">Previous Changeset</a>
   </li>
 </ul>

</div>

Hope that gives some clues.

comment:3 Changed 9 years ago by cmlenz

Have you restarted Apache after updating Trac? You need a full stop / start cycle to get ModPython to use the updated code.

comment:4 Changed 9 years ago by anonymous

  • Resolution set to invalid
  • Status changed from new to closed

I restarted apache and now is works. I did not know I needed to do that. Sorry.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed The owner will remain cmlenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from cmlenz to the specified user.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.