Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#7545 closed defect (fixed)

[Patch] Trac 0.12 AttributeError: 'NoneType' object has no attribute 'get_node'

Reported by: phanson@… Owned by: Ryan J Ollos
Priority: normal Component: RepoSearchPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12


Probably due to new multiple-repo support. This seems to fix it, for now:

in file:

<         repo = self.env.get_repository(req.authname)
>         repo = self.env.get_repository(authname=req.authname)

Attachments (0)

Change History (4)

comment:1 Changed 8 years ago by Ryan J Ollos

Status: newassigned

I'll make a 0.12 branch for the plugin and checkin this change. Is this actually working for you under 0.12?

comment:2 Changed 8 years ago by Ryan J Ollos

(In [8437]) Creating a 0.12 branch from 0.11 version. Refs #7545.

comment:3 Changed 8 years ago by Ryan J Ollos

Resolution: fixed
Status: assignedclosed

(In [8438]) Applying fix to call to self.env.get_repository for 0.12 compatibility. Fixes #7545.

comment:4 Changed 8 years ago by Ryan J Ollos

If you get this working under 0.12, please post a note to #7046. Thanks!

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
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.