Edgewall Software

Ticket #887 (closed defect: invalid)

Opened 4 years ago

Last modified 2 years ago

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:

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

Change History

Changed 4 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.

Changed 4 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.

Changed 4 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.

Changed 4 years ago by anonymous

  • status changed from new to closed
  • resolution set to invalid

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

Add/Change #887 (Next/Prev links in Changeset does not work using ModPython)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from cmlenz. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.