Project

General

Profile

Bug #5776

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

Added by Erwin Hager about 5 years ago. Updated almost 5 years 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 almost 5 years ago

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

Also available in: Atom PDF