Creating a new maintenance task with ÆØÅ in description fails

Bug #858055 reported by Vidar Faltinsen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Network Administration Visualized
Fix Released
Low
Magnus Eide

Bug Description

The python error is:

MOD_PYTHON ERROR

ProcessId: 435
Interpreter: 'lokalnav.uninett.no'

ServerName: 'lokalnav.uninett.no'
DocumentRoot: '/usr/share/nav/htdocs'

URI: '/maintenance/new'
Location: '/maintenance'
Directory: None
Filename: '/usr/share/nav/htdocs/maintenance'
PathInfo: '/new'

Phase: 'PythonHandler'
Handler: 'nav.web.maintenance.handler'

Traceback (most recent call last):

  File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1229, in _process_target
    result = _execute_target(config, req, object, arg)

  File "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1128, in _execute_target
    result = object(arg)

  File "/usr/lib/pymodules/python2.6/nav/web/encoding.py", line 28, in _handler
    return func(req, *args, **kwargs)

  File "/usr/lib/pymodules/python2.6/nav/web/maintenance/handler.py", line 304, in handler
    maint_end, description, author, state)

  File "/usr/lib/pymodules/python2.6/nav/maintenance.py", line 156, in setTask
    logger.debug("setTask() query: %s", sql % data)

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 277: ordinal not in range(128)

Changed in nav:
importance: Undecided → Low
assignee: nobody → Magnus Eide (m-eide)
Revision history for this message
Magnus Eide (m-eide) wrote :
Changed in nav:
status: New → Fix Committed
Changed in nav:
milestone: none → 3.9.2
Changed in nav:
status: Fix Committed → Fix Released
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.