fineract-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nazeer1100...@apache.org
Subject [1/2] incubator-fineract git commit: FINERACT-326 : Edit datatable page not able to save if the single character is entered in New Name field
Date Mon, 13 Mar 2017 12:06:41 GMT
Repository: incubator-fineract
Updated Branches:
  refs/heads/develop fdcd2d447 -> 8cc560cd8


FINERACT-326 : Edit datatable page not able to save if the single character is entered in
New Name field


Project: http://git-wip-us.apache.org/repos/asf/incubator-fineract/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-fineract/commit/f04b3719
Tree: http://git-wip-us.apache.org/repos/asf/incubator-fineract/tree/f04b3719
Diff: http://git-wip-us.apache.org/repos/asf/incubator-fineract/diff/f04b3719

Branch: refs/heads/develop
Commit: f04b3719c3c09d99db0cbade63fafbbe086a564c
Parents: f1f3d65
Author: nazeer1100126 <nazeer.shaik@confluxtechnologies.com>
Authored: Fri Mar 10 18:14:23 2017 +0530
Committer: nazeer1100126 <nazeer.shaik@confluxtechnologies.com>
Committed: Fri Mar 10 18:28:08 2017 +0530

----------------------------------------------------------------------
 .../serialization/DatatableCommandFromApiJsonDeserializer.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-fineract/blob/f04b3719/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/serialization/DatatableCommandFromApiJsonDeserializer.java
----------------------------------------------------------------------
diff --git a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/serialization/DatatableCommandFromApiJsonDeserializer.java
b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/serialization/DatatableCommandFromApiJsonDeserializer.java
index 2d52b4f..c1d5845 100644
--- a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/serialization/DatatableCommandFromApiJsonDeserializer.java
+++ b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/serialization/DatatableCommandFromApiJsonDeserializer.java
@@ -182,7 +182,7 @@ public class DatatableCommandFromApiJsonDeserializer {
 
                 final String newName = this.fromApiJsonHelper.extractStringNamed("newName",
column);
                 baseDataValidator.reset().parameter("newName").value(newName).ignoreIfNull().notBlank().notExceedingLengthOf(50)
-                        .isNotOneOfTheseValues("id", fkColumnName).matchesRegularExpression(DATATABLE_NAME_REGEX_PATTERN);
+                        .isNotOneOfTheseValues("id", fkColumnName).matchesRegularExpression(DATATABLE_COLUMN_NAME_REGEX_PATTERN);
 
                 if (this.fromApiJsonHelper.parameterExists("length", column)) {
                     final String lengthStr = this.fromApiJsonHelper.extractStringNamed("length",
column);


Mime
View raw message