Error in one query makes subsequent queries fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
web.py |
Fix Released
|
High
|
Anand Chitipothu |
Bug Description
The following test fails.
def testWrongQuery(
# It should be possible to run a correct query after getting an error from a wrong query.
try:
except:
pass
Here is exception trace:
=======
ERROR: testWrongQuery (__main__.DBTest)
-------
Traceback (most recent call last):
File "test/db.py", line 29, in testWrongQuery
web.
File "./web/db.py", line 605, in select
return query(qout, processed=True)
File "./web/db.py", line 457, in query
web.
File "./web/db.py", line 356, in db_execute
out = cur.execute(
ProgrammingError: current transaction is aborted, commands ignored
until end of transaction block
Related branches
Changed in webpy: | |
assignee: | nobody → anandology |
importance: | Undecided → High |
milestone: | none → 0.23 |
status: | New → Fix Committed |
Changed in webpy: | |
status: | Fix Committed → Fix Released |