Local reports crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Network Administration Visualized |
Fix Released
|
High
|
Jørgen Abrahamsen | ||
3.5 |
Fix Released
|
High
|
Jørgen Abrahamsen |
Bug Description
Adding a report to report.local.conf causes the report interface to crash when attempting to open that report. Adding the an identical report to report.conf does not cause a crash.
The traceback is as follows (tested on the current tip of the report branch):
MOD_PYTHON ERROR
ProcessId: 12506
Interpreter: 'navdev.uninett.no'
ServerName: 'navdev.uninett.no'
DocumentRoot: '/usr/local/
URI: '/report/
Location: None
Directory: '/usr/local/
Filename: '/usr/local/
PathInfo: ''
Phase: 'PythonHandler'
Handler: 'nav.web.
Traceback (most recent call last):
File "/usr/lib/
default=
File "/usr/lib/
result = _execute_
File "/usr/lib/
result = object(arg)
File "/usr/local/
req.
File "/usr/local/
_v = VFFSL(SL,
File "/usr/local/
self.
File "/usr/local/
for a in VFFSL(SL,
NotFound: cannot find 'form' while searching for 'report.form'
Changed in nav: | |
milestone: | v3.5.0b2 → none |
Changed in nav: | |
status: | Fix Committed → Fix Released |
It seems that if I put an empty report named 'foo' in report.conf, and add a full definition for 'foo' in report.local.conf, no crash occurs.