Add test coverage for Field API Number

Created on 24 August 2009, about 15 years ago
Updated 9 April 2023, over 1 year ago

We've had some recent WSODs and critical validation errors on core Field API widgets:

#557932: Taxonomy term field autocomplete widgets never validate, always lose values. β†’
#557924: Options widget broken β†’

Both of these widgets have things in common: they both use custom multiple values handling. They also have something in common with other D7 core Fields: very little test coverage. The only widgets with any tests in core are text_textfield and text_textarea.

πŸ“Œ Task
Status

Downport

Version

7.0 ⚰️

Component
NumberΒ  β†’

Last updated 21 days ago

No maintainer
Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΈπŸ‡ͺSweden TwoD Sweden

    For D7 this also needs to test just - as inputting just that currently leads to
    PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '-' for column 'FIELD_NAME' at row 1: INSERT IN ....

Production build 0.71.5 2024