FINERACT-326 : Edit datatable page not able to save if the single character is entered in New Name field
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user