This is an automated email from the ASF dual-hosted git repository.
adamsaghy pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git
The following commit(s) were added to refs/heads/develop by this push:
new 8a28f1e39 FINERACT-2081: Fix update client identifier
8a28f1e39 is described below
commit 8a28f1e39f84b55aa2b0f24f9e0e675b5ab3fe33
Author: Jaswanth-Sriram-Veturi <[email protected]>
AuthorDate: Wed Aug 14 12:55:59 2024 +0530
FINERACT-2081: Fix update client identifier
---
.../org/apache/fineract/portfolio/client/domain/ClientIdentifier.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/fineract-core/src/main/java/org/apache/fineract/portfolio/client/domain/ClientIdentifier.java
b/fineract-core/src/main/java/org/apache/fineract/portfolio/client/domain/ClientIdentifier.java
index 3c4beaadc..a42810a8b 100644
---
a/fineract-core/src/main/java/org/apache/fineract/portfolio/client/domain/ClientIdentifier.java
+++
b/fineract-core/src/main/java/org/apache/fineract/portfolio/client/domain/ClientIdentifier.java
@@ -112,8 +112,8 @@ public class ClientIdentifier extends
AbstractAuditableWithUTCDateTimeCustom<Lon
final String statusParamName = "status";
if (command.isChangeInStringParameterNamed(statusParamName,
ClientIdentifierStatus.fromInt(this.status).getCode())) {
- final String newValue =
command.stringValueOfParameterNamed(descriptionParamName);
- actualChanges.put(descriptionParamName,
ClientIdentifierStatus.valueOf(newValue));
+ final String newValue =
command.stringValueOfParameterNamed(statusParamName);
+ actualChanges.put(statusParamName,
ClientIdentifierStatus.valueOf(newValue));
this.status = ClientIdentifierStatus.valueOf(newValue).getValue();
}