﻿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
18568	django admin interface not behaving properly in firefox.	chs2048@…	Chris2048	"Hi,

I have a simple Django app that connects to a database and allows me to administrate it.

It consists of a few models, and some inlines, but little else other than Django.

but I'm getting strange behavior when using firefox 13.0.1 (IE 8.0 works).

for the following inlines:

{{{
class UserRoleClientMembershipInline(admin.TabularInline):
    model = UserRoleClientMembership
    extra = 1

class UserRoleClientGroupMembershipInline(admin.TabularInline):
    model = UserRoleClientGroupMembership
    extra = 1

class UserAdmin(admin.ModelAdmin):
    inlines = [UserRoleClientMembershipInline, UserRoleClientGroupMembershipInline]

admin.site.register(User, UserAdmin)
}}}

where the model 'user' is:

{{{
class User(models.Model):
    user_name = models.CharField(max_length=1024)
    roles = models.ManyToManyField(Role, through='UserRoleClientMembership')
    def __unicode__(self):
        return self.user_name
    class Meta:
        db_table = u'users'
}}}

When I try to add any user I get:

{{{
ValidationError at <url>
[u'ManagementForm data is missing or has been tampered with']
}}}

Also, when I remove the second inline, adding users works, but if I enter incomplete data in the first inline, firefox doesn't always give a (second field required) like IE does, it just ignores the inline instead. At other times, firefox *has* added new users, and has displayed the field-required warning.

I should note that I'm running Django ontop of Jython ontop of tomcat6 (which has caused problems before), but in this case I'm curious as to why IE works correctly.

Thanks.
"	Bug	closed	contrib.admin	1.3-rc	Normal	needsinfo	django firefox IE admin		Unreviewed	0	0	0	0	0	0
