From 6e80f0a62d3b2cf9c65fe38c66589683ba99f206 Mon Sep 17 00:00:00 2001 From: Dezinger Date: Sat, 18 Nov 2017 23:42:42 +0300 Subject: [PATCH 1/2] #115 Convert client_id to string because pgsql fail with type convertion string <> int --- src/User/Query/SocialNetworkAccountQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/User/Query/SocialNetworkAccountQuery.php b/src/User/Query/SocialNetworkAccountQuery.php index 8ca2843..eee6d34 100644 --- a/src/User/Query/SocialNetworkAccountQuery.php +++ b/src/User/Query/SocialNetworkAccountQuery.php @@ -26,7 +26,7 @@ class SocialNetworkAccountQuery extends ActiveQuery return $this->andWhere( [ 'provider' => $client->getId(), - 'client_id' => $client->getUserAttributes()['id'], + 'client_id' => (string)$client->getUserAttributes()['id'], ] ); } From b2161c32240e4871418e37fcfd66384cf71f9f55 Mon Sep 17 00:00:00 2001 From: Dezinger Date: Wed, 22 Nov 2017 21:23:43 +0300 Subject: [PATCH 2/2] #115 Add to changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fbd66c..f2eeab8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # CHANGELOG ## 1.1.1 - Work in progress +- Bug #115: Convert client_id to string because pgsql fail with type convertion (Dezinger) - Bug #111: Fix migration for PostgreSQL DBMS (MKiselev) - Bug #106: Correct exception value returned in `MailEvent::getException` (kartik-v) - Enh #99: Added German translation (jkmssoft)