From cf76cdf9a3f4668255e6472c3809a09b37c24546 Mon Sep 17 00:00:00 2001 From: Marty Pradere Date: Thu, 26 Mar 2026 09:37:28 -0700 Subject: [PATCH] Fix EHR form submit thresholds (#1107) * Fix variable assignments --- ehr/resources/web/ehr/data/StoreCollection.js | 6 +++--- .../labkey/ehr/demographics/EHRDemographicsServiceImpl.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ehr/resources/web/ehr/data/StoreCollection.js b/ehr/resources/web/ehr/data/StoreCollection.js index e3612bb1b..4efa982b0 100644 --- a/ehr/resources/web/ehr/data/StoreCollection.js +++ b/ehr/resources/web/ehr/data/StoreCollection.js @@ -665,13 +665,13 @@ Ext4.define('EHR.data.StoreCollection', { perRowWarningThreshold = this.formConfig.perRowWarningThreshold; } if (this.formConfig.totalTransactionWarningThrehsold){ - perRowWarningThreshold = this.formConfig.totalTransactionWarningThrehsold; + totalTransactionWarningThreshold = this.formConfig.totalTransactionWarningThrehsold; } if (this.formConfig.perRowValidationWarningThrehsold){ - perRowWarningThreshold = this.formConfig.perRowValidationWarningThrehsold; + perRowValidationWarningThreshold = this.formConfig.perRowValidationWarningThrehsold; } if (this.formConfig.totalValidationTransactionWarningThrehsold){ - perRowWarningThreshold = this.formConfig.totalValidationTransactionWarningThrehsold; + totalValidationTransactionWarningThreshold = this.formConfig.totalValidationTransactionWarningThrehsold; } } diff --git a/ehr/src/org/labkey/ehr/demographics/EHRDemographicsServiceImpl.java b/ehr/src/org/labkey/ehr/demographics/EHRDemographicsServiceImpl.java index ba696f427..61c3c8920 100644 --- a/ehr/src/org/labkey/ehr/demographics/EHRDemographicsServiceImpl.java +++ b/ehr/src/org/labkey/ehr/demographics/EHRDemographicsServiceImpl.java @@ -503,7 +503,7 @@ private List createRecords(Container c, Collection ids, bo while (start < allIds.size()) { List sublist = allIds.subList(start, Math.min(allIds.size(), start + DemographicsProvider.MAXIMUM_BATCH_SIZE)); - _log.info("Creating demographics records for " + sublist.size() + " animals (" + start + " of " + allIds.size() + " already complete)"); + _log.debug("Creating demographics records for " + sublist.size() + " animals (" + start + " of " + allIds.size() + " already complete)"); start = start + DemographicsProvider.MAXIMUM_BATCH_SIZE; DefaultSchema defaultSchema = DefaultSchema.get(u, c);