You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a Document property max value is exceeded the returned error message is incorrect.
i.e. Value assigned to c.xxx is less than max, 180, got 275.16
instead of Value assigned to c.xxx is greater than max, 180, got 275.16
base-document.js line 201
if(isNumber(that._schema[key].max)&&value>that._schema[key].max){thrownewValidationError('Value assigned to '+that.collectionName()+'.'+key+' is less than max, '+that._schema[key].max+', got '+value);}
should be
if(isNumber(that._schema[key].max)&&value>that._schema[key].max){thrownewValidationError('Value assigned to '+that.collectionName()+'.'+key+' is greater than max, '+that._schema[key].max+', got '+value);}
Regards
Andy
The text was updated successfully, but these errors were encountered:
Hi,
When a Document property max value is exceeded the returned error message is incorrect.
i.e. Value assigned to c.xxx is less than max, 180, got 275.16
instead of Value assigned to c.xxx is greater than max, 180, got 275.16
base-document.js line 201
should be
Regards
Andy
The text was updated successfully, but these errors were encountered: