Opened 16 years ago
Closed 14 years ago
#3561 closed defect (wontfix)
Faulty link in DBAuthPlugin when running standalone on multiproject
Reported by: | Nortek | Owned by: | Brad Anderson |
---|---|---|---|
Priority: | normal | Component: | DbAuthPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
I have a multiproject Trac site which runs as a standalone server. One of the projects is named NIP. So when I open up the project: http://127.0.0.1:8000/NIP i get the login link in the navigation menu. However the login link links to http://127.0.0.1:8000/login with the result that I get the message : "Environment not found". If I understand this right the login should link to : http://127.0.0.1:8000/NIOP/login instead. In which case everthink works fine. The same problem happens when logging out.
Looking into the sourcecode I compared the "get_navigation_items" method with the one in the Trac project and the difference here was that the login link was generated differently: Trac : req.href.login() DBAuthg : self.env.href.login()
So when changing this it now seems to work as it should.
Is this a fault with the plugin or have I setup something wrong?
Attachments (0)
Change History (2)
comment:1 Changed 16 years ago by
comment:2 Changed 14 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Closing tickets for a deprecated plugin.
Just a small typo above: http://127.0.0.1:8000/NIOP/login should be http://127.0.0.1:8000/NIP/login