datatracker icon indicating copy to clipboard operation
datatracker copied to clipboard

Form validation on /secr/sreq destroys be-there list

Open rjsparks opened this issue 2 years ago • 1 comments

On a form validation error, the be-there list is set to range(n) where n was the number of Person objects in the field before the validation failed. The result is lists of be-there with names that look like, for instance:

>>> Person.objects.order_by('pk')[:3]
<QuerySet [<Person: (System)>, <Person: David Ely>, <Person: Vinton Cerf>]>

rjsparks avatar May 02 '22 16:05 rjsparks

See also #3372

rjsparks avatar May 02 '22 16:05 rjsparks

Unable to reproduce this issue. Tried submitting new session request and editing existing session request using a bogus group name in a conflict field to cause a form validation error, do not see any issues with bethere names.

rpcross avatar Nov 05 '22 14:11 rpcross

closing as OBE

rjsparks avatar Jan 24 '23 15:01 rjsparks