This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I have a field in an Entity Object Marked as [Transient].
It is a DateTime field.
I set it to DateTime.MinValue to mark it unused (it is the year 0001).
When the object gets commited LS throws an error saying that the DateTime value has to be between some values (Year 17?? and 9999 - from memory).
So my question is shouldn't the validation of such fields be skipped by LS if they are marked as [Transient] ?
Alfred
|
|
|
Yes. Yes it should. I've committed a fix so that transient fields will no longer be subject to these "implicit," database-specific validations, and this will be included in nightly builds dated 18 Apr 2009 and above, available from about 1430 GMT. Note that transient fields will still be subject to explicit validations -- if you put a validation attribute on a transient field, that validation will still run and will prevent the save if it fails. Thanks for letting us know about this! |
|