Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#4776 closed defect (fixed)

local variable 'realm' referenced before assignment

Reported by: JirkaV Owned by: martin_s
Priority: normal Component: WatchlistPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Hi Martin! Me again, sorry. After updating Watchlist plugin yesterday (#4762), clicking on the "Watchlist" button on the toolbar on pretty much any page gives me UnboundLocalError: local variable 'realm' referenced before assignment in tracwatchlist/plugin.py", line 141, in process_request.

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by martin_s

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

Got it. Fixed in 5357. This things happen if you copy&paste code from one place to another ... I'm supprised that I never got an error. Probably the same instance used for the add/remove action was reused for the view action, so that the variable was still initialised.

comment:2 Changed 6 years ago by martin_s

Sorry, here again with hyperlink: [5357]

comment:3 Changed 6 years ago by JirkaV

That helped - thanks again!

Add Comment

Modify Ticket

Action
as closed The owner will remain martin_s.
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.