Skip to content

Detect and convert float locale with regard to the selected user language prior to adding repeater in base #2

@dscp46

Description

@dscp46

Opened following an attempt to insert a repeater with the decimal point as ',' instead of '.'

[Sun May 07 07:32:04.223935 2023] [php:notice] SQLSTATE[01000]: Warning: 1265 Data truncated for column 'down' at row 1 [/var/www/mqtt/app/lib/RepeaterDB.php:108], referer: https://mqtt.ara-r.fr/repeaters/new
[Sun May 07 07:32:04.224000 2023] [php:notice] [app/lib/RepeaterDB.php:108] PDOStatement->execute(), referer: https://mqtt.ara-r.fr/repeaters/new
[Sun May 07 07:32:04.224017 2023] [php:notice] [app/controllers/Repeaters.php:113] RepeaterDB->add(), referer: https://mqtt.ara-r.fr/repeaters/new
[Sun May 07 07:32:04.224031 2023] [php:notice] [lib/base.php:1995] Repeaters->add(), referer: https://mqtt.ara-r.fr/repeaters/new
[Sun May 07 07:32:04.224045 2023] [php:notice] [lib/base.php:1793] Base->call(), referer: https://mqtt.ara-r.fr/repeaters/new
[Sun May 07 07:32:04.224162 2023] [php:notice] [index.php:21] Base->run(), referer: https://mqtt.ara-r.fr/repeaters/new

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions