Project

General

Profile

Bug #5776

uWeb doesn't throw an error when updating a record with the wrong datetime format

Added by Erwin Hager 9 months ago. Updated 6 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Core
Target version:
-
Start date:
2019-11-25
Due date:
% Done:

0%

Estimated time:

Description

When MySQL throws the error: "Error Code: 1292. Incorrect datetime value:" the Record.Save() method fails silently. This error should throw an exception.

History

#1 Updated by Erwin Hager 6 months ago

This seems to happen with other datatype mismatches as well. (see #5829)

Also available in: Atom PDF