[Lada-commits] [PATCH 2 of 2] Avoid side effect of setting 0 as default value

Wald Commits scm-commit at wald.intevation.org
Fri Oct 28 17:03:15 CEST 2016


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1477666962 -7200
# Node ID eeed1b92341fb100d0ac2f000fb3fa68fe5ce7af
# Parent  d5b9a5c758728bfd4983cb977bc6c062b7a4c54d
Avoid side effect of setting 0 as default value.

Temporarily, this was not a problem, as 0 was a valid baId, but
since server Rev d1d7d684800c this is not the case anymore.

diff -r d5b9a5c75872 -r eeed1b92341f app/model/Probe.js
--- a/app/model/Probe.js	Fri Oct 28 13:43:06 2016 +0200
+++ b/app/model/Probe.js	Fri Oct 28 17:02:42 2016 +0200
@@ -34,7 +34,6 @@
         name: 'datenbasisId'
     }, {
         name: 'baId',
-        type: 'number'
     }, {
         name: 'probenartId'
     }, {


More information about the Lada-commits mailing list