From 191bcdf0ddc892ce33eb62dd05d18057fa12cf9e Mon Sep 17 00:00:00 2001 From: Tim Chamberlain Date: Thu, 30 Nov 2023 15:45:01 -0600 Subject: [PATCH] not sure what i was doing here, now checking record value correctly --- .../backend/implementations/memory/AbstractMemoryAction.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qqq-backend-core/src/main/java/com/kingsrook/qqq/backend/core/modules/backend/implementations/memory/AbstractMemoryAction.java b/qqq-backend-core/src/main/java/com/kingsrook/qqq/backend/core/modules/backend/implementations/memory/AbstractMemoryAction.java index 4922398b..b492c76e 100644 --- a/qqq-backend-core/src/main/java/com/kingsrook/qqq/backend/core/modules/backend/implementations/memory/AbstractMemoryAction.java +++ b/qqq-backend-core/src/main/java/com/kingsrook/qqq/backend/core/modules/backend/implementations/memory/AbstractMemoryAction.java @@ -27,7 +27,6 @@ import com.kingsrook.qqq.backend.core.actions.interfaces.QActionInterface; import com.kingsrook.qqq.backend.core.model.data.QRecord; import com.kingsrook.qqq.backend.core.model.metadata.tables.QTableMetaData; import com.kingsrook.qqq.backend.core.utils.StringUtils; -import com.kingsrook.qqq.backend.core.utils.ValueUtils; /******************************************************************************* @@ -50,7 +49,7 @@ public abstract class AbstractMemoryAction implements QActionInterface // always set value if boolean to overwrite is true, otherwise, // // only set the value if there is currently no content for the field // /////////////////////////////////////////////////////////////////////// - if(overwriteIfSet || !StringUtils.hasContent(ValueUtils.getValueAsString(table.getField(fieldName)))) + if(overwriteIfSet || !StringUtils.hasContent(record.getValueString(fieldName))) { record.setValue(fieldName, value); }