﻿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
8320	Admin Transaction Management Error	holdenweb	nobody	"When using admin from the trunk [r8346] on Ubuntu I am getting occasional tracebacks like the following. I *appears* only to happen when one of the foreign key fields is changed, or at least I haven't been able to trigger the problem without changing one of them. I am only selecting values using the drop-downs populated from the related models.

Environment:

Request Method: POST

Request URL: http://test.holdenweb.com/admin/accounts/userprofile/14/

Django Version: 1.0-alpha_2-SVN-8346

Python Version: 2.4.3

Installed Applications:

['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.admin',
 'pages',
 'grp',
 'contact',
 'registration',
 'accounts']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.middleware.doc.XViewMiddleware')


Traceback:
File ""/home/holdenwe/django-trunk/django/core/handlers/base.py"" in get_response
  86.                 response = callback(request, *callback_args, **callback_kwargs)
File ""/home/holdenwe/django-trunk/django/contrib/admin/sites.py"" in root
  172.                 return self.model_page(request, *url.split('/', 2))
File ""/home/holdenwe/django-trunk/django/views/decorators/cache.py"" in _wrapped_view_func
  44.         response = view_func(request, *args, **kwargs)
File ""/home/holdenwe/django-trunk/django/contrib/admin/sites.py"" in model_page
  189.         return admin_obj(request, rest_of_url)
File ""/home/holdenwe/django-trunk/django/contrib/admin/options.py"" in __call__
  275.             return self.change_view(request, unquote(url))
File ""/home/holdenwe/django-trunk/django/db/transaction.py"" in _commit_on_success
  251.             leave_transaction_management()
File ""/home/holdenwe/django-trunk/django/db/transaction.py"" in leave_transaction_management
  75.         raise TransactionManagementError(""Transaction managed block ended with pending COMMIT/ROLLBACK"")

Exception Type: TransactionManagementError at /admin/accounts/userprofile/14/
Exception Value: Transaction managed block ended with pending COMMIT/ROLLBACK

"		new	Uncategorized	dev			admin transaction		Unreviewed	0	0	0	0		
