- Add more tests to save map
- Add new rest operations for saving map content - Fix password encoding bug - Fix bug that allow different users being created with the same password.
This commit is contained in:
@@ -64,11 +64,11 @@ public class MapInfoValidator implements Validator {
|
||||
}
|
||||
}
|
||||
ValidatorUtils.rejectIfExceeded(errors,
|
||||
"description",
|
||||
"The description must have less than "+Constants.MAX_MAP_DESCRIPTION_LENGTH + " characters.",
|
||||
desc,
|
||||
Constants.MAX_MAP_DESCRIPTION_LENGTH);
|
||||
}
|
||||
"description",
|
||||
"The description must have less than " + Constants.MAX_MAP_DESCRIPTION_LENGTH + " characters.",
|
||||
desc,
|
||||
Constants.MAX_MAP_DESCRIPTION_LENGTH);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user