Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#7545 closed defect (fixed)

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

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

Description

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

in file: search.py

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

Attachments (0)

Change History (4)

comment:1 Changed 4 years ago by rjollos

  • Status changed from new to assigned

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 4 years ago by rjollos

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

comment:3 Changed 4 years ago by rjollos

  • Resolution set to fixed
  • Status changed from assigned to closed

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

comment:4 Changed 4 years ago by rjollos

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

Add Comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.