Opened 6 years ago
Closed 6 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)
Change History (4)
Changed 6 years ago by jonas
comment:1 Changed 6 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 6 years ago by bobbysmith007
comment:3 Changed 6 years ago by bobbysmith007
- Resolution set to fixed
- Status changed from new to closed


Patch to fix navigation url:s