Using validation rules on an object

I added a validation rule in the metamodel to an object checking on the max length of an attribue. If the max length is set to the same value the attribute's max length is, in a datagrid the message is not shown and an error is given in the modeler console, when violated. I expected something different. I expected the the violation to be caught and the commit to be stopped. Is my expectation incorrect? Thanks Toon
1 answers

The server should validate the change and send an validation error to the client. However, if you use inline editing in a Datagrid the validation message cannot be place below the input field. In that case a blocking popup should appear.

Are you using the latest Mendix version (2.4.5)?