Ticket #1648 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Error when clicking the Management Nav Menu

Reported by: khundeen Assigned to: 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

correcturls.patch (2.1 kB) - added by jonas on 06/10/07 19:31:10.
Patch to fix navigation url:s

Change History

06/10/07 19:31:10 changed by jonas

  • attachment correcturls.patch added.

Patch to fix navigation url:s

06/10/07 19:31:37 changed 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

06/11/07 09:06:54 changed 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

06/11/07 12:52:57 changed by bobbysmith007

  • status changed from new to closed.
  • resolution set to fixed.

Add/Change #1648 (Error when clicking the Management Nav Menu)




Change Properties
Action