3.1.6: No warning if setting calculated field.

Hi all,

not sure if this is expected or not:

I tried to set the value of a field which is used by a stored calculation.

mystoredcalc = 5;
controller.saveData();
if(mystoredcalc != 5) {
   //something went wrong...
}

In my case mystoredcalc was called ‘vat’ so it was not so obvious :wink:

I would expect to get some kind of error message if I try to do this.
But I got none.

calculated fields can be set to things you want. Servoy doesn’t care but that value an be overwritten again by the calculation ofcourse at anytime.

jcompagner:
calculated fields can be set to things you want. Servoy doesn’t care but that value an be overwritten again by the calculation ofcourse at anytime.

OK, but it would be good to get a message about this in the log – took me quite a while to work out what I had done wrong :wink: