Adding validation of timespan columns w/in 24hrs (#275)

Very small feature add to make sure that values entered for `TIME` columns are < 24hrs. If the value is >=24hrs when setting the column, an exception will be thrown that the edit/updateCell handler will catch and convert into an error on the JSON RPC side.

* Adding validation of timespan columns

* Fixing a merge conflict
This commit is contained in:
Benjamin Russell
2017-03-10 13:46:13 -08:00
committed by GitHub
parent 125fe8b0e7
commit 471e64fb1c
7 changed files with 730 additions and 979 deletions

View File

@@ -551,6 +551,11 @@
<target state="new">Cannot add row to result buffer, data reader does not contain rows</target>
<note></note>
</trans-unit>
<trans-unit id="EditDataTimeOver24Hrs">
<source>TIME column values must be between 00:00:00.0000000 and 23:59:59.9999999</source>
<target state="new">TIME column values must be between 00:00:00.0000000 and 23:59:59.9999999</target>
<note></note>
</trans-unit>
<trans-unit id="EditDataNullNotAllowed">
<source>NULL is not allowed for this column</source>
<target state="new">NULL is not allowed for this column</target>