Opened 8 years ago

Closed 7 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: UI/UX:

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@…> 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by Petr Marhoun <petr.marhoun@…>

comment:1 Changed 7 years ago by Karen Tracey <kmtracey@…>

  • Keywords nfa-blocker added
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

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 Changed 7 years ago by jkocherhans

  • Resolution set to invalid
  • Status changed from new to closed

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

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