Hi Sarang! What is the reason behind storing integer variable with value as 'cdscsd'? Is this a real use case?
I agree Mendix should have shown the error and not even let you compile the code.
Works on my machine..
When mapping a string value to a integer value Mendix gives an error in the model.
Will happen in all cases where you have a mismatch in expression and type.
Check in the error dock if you have ticked out the errors.