Modify

Opened 9 years ago

Closed 7 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:2 Changed 7 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Closing tickets for a deprecated plugin.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Brad Anderson.
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.