Opened 11 years ago

Closed 11 years ago

#1648 closed defect (fixed)

Error when clicking the Management Nav Menu

Reported by: Bhuricha Deen Sethanandha Owned by: Russ Tyndall
Priority: high Component: TimingAndEstimationPlugin
Severity: major Keywords:
Cc: Trac Release: 0.11


When I enable the plugin on trac 0.11. I got error when I click the Management menu. I have this problem with following configuration.

Use Trac 0.11 and use Tracd to run the trac project. The url for trac project would be http://localhost:8000/ProjEnv. The Management menu is pointed to http://localhost:8000/Billing.

After a while I found the cause of this problem. It seems that the code self.env.href return just the server URL. In trac 0.11 they use req.href and it will reture the URL with trac project env. I replace self.env.href with req.href and it works fine.

I am not sure if it is going to break the previous version so I report this as problem to get some respond.

Attachments (1)

correcturls.patch (2.1 KB) - added by Jonas Larsson 11 years ago.
Patch to fix navigation url:s

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by Jonas Larsson

Attachment: correcturls.patch added

Patch to fix navigation url:s

comment:1 Changed 11 years ago by Jonas Larsson

Priority: normalhigh
Severity: normalmajor

I had the same problem and fixed in the above described way. I'm attaching my patch here which works on version >= 0.01

comment:2 Changed 11 years ago by Russ Tyndall

(In [2291]) re #1648

Added jonas' patch that makes it no longer necesary to have base_url specified in the trac conf

also added a file that should have been there a while ago

comment:3 Changed 11 years ago by Russ Tyndall

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Russ Tyndall.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.