Modify

Opened 7 years ago

Closed 7 years ago

#1648 closed defect (fixed)

Error when clicking the Management Nav Menu

Reported by: khundeen Owned by: bobbysmith007
Priority: high Component: TimingAndEstimationPlugin
Severity: major Keywords:
Cc: Trac Release: 0.11

Description

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 7 years ago.
Patch to fix navigation url:s

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by jonas

Patch to fix navigation url:s

comment:1 Changed 7 years ago by jonas

  • Priority changed from normal to high
  • Severity changed from normal to major

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 7 years ago by bobbysmith007

(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 7 years ago by bobbysmith007

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

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.