Opened 6 years ago

Closed 4 years ago

#3561 closed defect (wontfix)

Faulty link in DBAuthPlugin when running standalone on multiproject

Reported by: nortek Owned by: brad
Priority: normal Component: DbAuthPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


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: i get the login link in the navigation menu. However the login link links to
with the result that I get the message : "Environment not found".
If I understand this right the login should link to :
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 4 years ago by rjollos

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

Closing tickets for a deprecated plugin.

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from brad. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.