Project

General

Profile

Actions

Bug #7588

closed

Reports crashes on specific query

Added by Rajmund Hruška almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Development - GUI
Target version:
Start date:
06/03/2022
Due date:
% Done:

100%

Estimated time:
To be discussed:
No

Description

Message type: ERROR
Location:     /var/mentat/venv/lib/python3.7/site-packages/vial/app.py:168
Module:       app
Function:     log_exception
Time:         2022-03-01 09:58:43,874

Message:

Exception on /reports/data/M20220203SM-VZLV6/json35890751' or '5690'='5698?{} [GET]
Traceback (most recent call last):
  File "/var/mentat/venv/lib/python3.7/site-packages/flask/app.py", line 2446, in wsgi_app
    response = self.full_dispatch_request()
  File "/var/mentat/venv/lib/python3.7/site-packages/flask/app.py", line 1951, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/var/mentat/venv/lib/python3.7/site-packages/flask/app.py", line 1820, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/var/mentat/venv/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/var/mentat/venv/lib/python3.7/site-packages/flask/app.py", line 1949, in full_dispatch_request
    rv = self.dispatch_request()
  File "/var/mentat/venv/lib/python3.7/site-packages/flask/app.py", line 1935, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/var/mentat/venv/lib/python3.7/site-packages/flask/views.py", line 89, in view
    return self.dispatch_request(*args, **kwargs)
  File "/var/mentat/venv/lib/python3.7/site-packages/vial/view/__init__.py", line 414, in dispatch_request
    filename = self.get_filename(fileid, filetype)
  File "/var/mentat/venv/lib/python3.7/site-packages/hawat/blueprints/reports/__init__.py", line 378, in get_filename
    raise ValueError("Requested invalid data file type '{}'".format(filetype))
ValueError: Requested invalid data file type 'json35890751' or '5690'='5698'
Actions #1

Updated by Rajmund Hruška almost 2 years ago

  • Subject changed from Reports search crashes on specific query to Reports crashes on specific query
Actions #2

Updated by Rajmund Hruška almost 2 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by Rajmund Hruška almost 2 years ago

  • Status changed from Resolved to In Review

Merged into devel and deployed on mentat-alt.

Actions #4

Updated by Pavel Kácha almost 2 years ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF