Opened 10 years ago

Closed 10 years ago

#27068 closed Bug (fixed)

Acquire form's initial data more consistently

Reported by: Jon Dufresne Owned by: nobody
Component: Forms Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In BoundField, sometimes initial data ​handles callables. While other times, ​it doesn't. This can lead to a theoretical bug when the initial data is a callable, but the field is disabled.

Other times, the initial callable is handled, but microseconds are ​not chopped leading to theoretical false positives that data has changed.

Initial data should be handled more consistently across all cases.

Marking as a bug due to the theoretical edge cases that can produce unexpected results. Noticed these inconsistencies while working on #27037.

Change History (4)

comment:1 by Jon Dufresne, 10 years ago

Has patch: set

comment:2 by Claude Paroz, 10 years ago

Triage Stage: Unreviewed → Accepted

comment:3 by Tim Graham, 10 years ago

Triage Stage: Accepted → Ready for checkin

comment:4 by GitHub <noreply@…>, 10 years ago

Resolution: → fixed
Status: new → closed

In f5c6d3c8:

Fixed #27068 -- Unified form field initial data retrieval.

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