feature/Add connector method checkExternalUserExists part 2

This commit is contained in:
Marko Milić 2020-08-10 11:08:39 +02:00
parent fdb52731fa
commit 83ec9eefa6
4 changed files with 5 additions and 4 deletions

View File

@ -8,7 +8,7 @@
<groupId>com.tesobe</groupId>
<artifactId>obp-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.6.3</version>
<version>1.6.4</version>
</parent>
<artifactId>obp-api</artifactId>
<packaging>war</packaging>

View File

@ -123,7 +123,7 @@ class AuthUser extends MegaProtoUser[AuthUser] with MdcLoggable {
override def validations = isEmpty(Helper.i18n("Please.enter.your.username")) _ ::
valUnique(Helper.i18n("unique.username")) _ ::
valUniqueExternally(Helper.i18n("unique.username")) _ ::
super.validations
super.validations.distinct
override val fieldId = Some(Text("txtUsername"))
/**
@ -137,6 +137,7 @@ class AuthUser extends MegaProtoUser[AuthUser] with MdcLoggable {
case username if username == name => List(FieldError(this, Text(msg))) // issue 179
case _ => Nil
}
case ParamFailure(message,_,_,_) if message.contains("NO DATA") => Nil
case _ => List(FieldError(this, Text(msg))) // issue 179
}
} else {

View File

@ -7,7 +7,7 @@
<groupId>com.tesobe</groupId>
<artifactId>obp-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.6.3</version>
<version>1.6.4</version>
</parent>
<artifactId>obp-commons</artifactId>
<packaging>jar</packaging>

View File

@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.tesobe</groupId>
<artifactId>obp-parent</artifactId>
<version>1.6.3</version>
<version>1.6.4</version>
<packaging>pom</packaging>
<name>Open Bank Project API Parent</name>
<inceptionYear>2011</inceptionYear>