Bug #6028

DataMapper cannot handle wrongly typed input.

Added by Karsten Dambekalns over 12 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Must have
Category:
Persistence
Start date:
2010-01-14
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

When a property value comes back from the persistence depths as string, but is supposed to be an integer (or some other type), it is processed as string. That leads to problems when persisting again and changes data, which obviously should not happen.

Also available in: Atom PDF