Skip to content

When numeric regex validation fails, no backtrace is logged  #5089

@chrcoluk

Description

@chrcoluk

Describe the bug

Popup box which says this when going in and out of device settings, also happens on some other screens.


Sorry, we could not process your last action.

Save Failed due to field input errors (Check red fields).

Log says the following.

4/Dec/2022 20:53:02 - CMDPHP Form Validation Failed: Variable 'id' with Value '66' Failed REGEX '0'

To Reproduce

Steps to reproduce the behavior:

Do as above, whilst using PHP 8.0 or newer.

Expected behavior

No errors.

Desktop (please complete the following information)

Windows, Firefox (latest stable)

Additional context

Switching back to PHP 7.4, its error free, note PHP 7.4 is EOL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourconfirmedBug is confirm by dev teamresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions