Opened 16 years ago

Closed 16 years ago

#6000 closed (invalid)

Problems in BaseForm.reset

Reported by: Petr Marhoun <petr.marhoun@…> Owned by: nobody
Component: Forms Version: newforms-admin
Severity: Keywords: nfa-blocker
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Method django.newforms.BaseForm.reset does not reset fields and reset self.errors, not self._errors.

Attachments (1)

00-reset-form.diff (498 bytes ) - added by Petr Marhoun <petr.marhoun@…> 16 years ago.

Download all attachments as: .zip

Change History (3)

by Petr Marhoun <petr.marhoun@…>, 16 years ago

Attachment: 00-reset-form.diff added

comment:1 by Karen Tracey <kmtracey@…>, 16 years ago

Keywords: nfa-blocker added
Triage Stage: UnreviewedAccepted

Since this is new code in newforms-admin, it should be made right before merge. The double underscore before errors (formatting got messed up in original description) definitely looks wrong.

comment:2 by jkocherhans, 16 years ago

Resolution: invalid
Status: newclosed

The reset method does not exist as of [7270].

Note: See TracTickets for help on using tickets.
Back to Top