﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
11900	commit_on_success: Handle Exception in commit()	Thomas Güttler	Gabriel Hurley	"If you get an exception during the commit done by the commit_on_success decorator, you get a meaningless error message:

{{{
django.db.transaction.TransactionManagementError: Transaction managed block ended with pending COMMIT/ROLLBACK
}}}

With this patch you see the real exception.

Can someone please write a unittest for this?
"		closed	Database layer (models, ORM)	1.0		fixed		Gabriel Hurley	Accepted	1	0	0	0	0	0
