Portadmin crashes when searching by sysname or ip

Bug #1428071 reported by John-Magne Bredal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Network Administration Visualized
Fix Released
Undecided
John-Magne Bredal

Bug Description

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 109, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/usr/lib/python2.7/dist-packages/nav/web/portadmin/views.py", line 123, in search_by_sysname
    return search_by_kwargs(request, sysname=sysname)

  File "/usr/lib/python2.7/dist-packages/nav/web/portadmin/views.py", line 132, in search_by_kwargs
    sysname, do_not_exist_ex)

NameError: global name 'sysname' is not defined

Changed in nav:
milestone: none → 4.2.4
assignee: nobody → John-Magne Bredal (john-m-bredal)
status: New → In Progress
Revision history for this message
John-Magne Bredal (john-m-bredal) wrote :
Changed in nav:
status: In Progress → Fix Committed
Changed in nav:
status: Fix Committed → Fix Released
Changed in nav:
milestone: 4.2.4 → 4.2.5
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.