Summary | GAL Search - ERR: Unexpected output: string(5) "email" |
Queue | Synchronization |
Queue Version | FRAMEWORK_5_2 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | mrubinsk (at) horde (dot) org |
Requester | samuel.wolf (at) wolf-maschinenbau (dot) de |
Created | 08/03/2018 (2550 days ago) |
Due | |
Updated | 08/18/2018 (2535 days ago) |
Assigned | 08/05/2018 (2548 days ago) |
Resolved | 08/05/2018 (2548 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
commit 17b5988caaa6ed957b23ff87bba8338fca6c3464
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Wed, 08 Aug 2018 21:29:14 -0400
Bug: 14843Always return __key, and if it's a group, __type.The phpdoc states this will always return __key, make it so and (re)add
the __type value. It was removed at some point, which is a BC break and
broke EAS GAL searching which needs to filter out contact groups.
M lib/Api.php
https://github.com/horde/turba/commit/17b5988caaa6ed957b23ff87bba8338fca6c3464
commit 754d509dda6fb1ed111f6fcd68cf6641619c16ff
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Wed, 08 Aug 2018 21:37:24 -0400
[mjr] Fix returning EAS GAL search results (
Bug #14843).M doc/Horde/Core/changelog.yml
https://github.com/horde/Core/commit/754d509dda6fb1ed111f6fcd68cf6641619c16ff
commit 3408282724dc240d1497a2dfcff33663fc3cedf9
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Wed, 08 Aug 2018 21:33:09 -0400
Bug: 14843Fix logic.Fix broken logic in filtering out Contact Groups from EAS GAL
search results.
M lib/Horde/Core/ActiveSync/Driver.php
https://github.com/horde/Core/commit/3408282724dc240d1497a2dfcff33663fc3cedf9
Thank you Mike!
there is a sort-of-related bug that was just fixed in Turba as well.
The bug was causing issues if the GAL results included Contact Groups.
These were filtered out long ago, but regressed recently.
commit e49e2ba7a3a3b4a6b14fa9eb1f945e99b1254b10
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Wed, 08 Aug 2018 21:37:01 -0400
[mjr] Fix returning EAS GAL search results (
Bug #14843).M doc/Horde/Core/CHANGES
M package.xml
https://github.com/horde/Core/commit/e49e2ba7a3a3b4a6b14fa9eb1f945e99b1254b10
commit bf9717253790ff8646943747a5825c02b99723e6
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Wed, 08 Aug 2018 21:37:01 -0400
[mjr] Fix returning EAS GAL search results (
Bug #14843).M doc/Horde/Core/changelog.yml
https://github.com/horde/Core/commit/bf9717253790ff8646943747a5825c02b99723e6
commit cefb79b8cc9247bf997bbee2a5c1bb65a81660a6
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Wed, 08 Aug 2018 21:34:22 -0400
Bug: 14843Fix logic.Fix broken logic in filtering out Contact Groups from EAS GAL
search results.
M lib/Horde/Core/ActiveSync/Driver.php
https://github.com/horde/Core/commit/cefb79b8cc9247bf997bbee2a5c1bb65a81660a6
https://github.com/horde/base/commit/9cb60f96e5af2fc93de922170e9fbc3f5e2e9faf
https://github.com/horde/Core/commit/7e452801e1fac3a963644281ebf8823a1f8364f2
Could that be the problem?
Only one user has the no_gal permission, but GAL don't work on any user.
You'll need to update Turba when I release it. Hopefully I'll find
time this week.
own. I'll check into the issue. Yes, you should see the returned
search results in the log. Something isn't right.
https://github.com/horde/turba/commit/499a12789dcaf5786d21f6e8423491ac38033af9
Is there something more?
You'll need to update Turba when I release it. Hopefully I'll find
time this week.
New Attachment: GAL_Search_Log.txt
See in the log there is a match of 58, but device don't show the result.
With logging level "Detailed", should I see the names/contacts?
Maybe this is now a device problem?
State ⇒ Resolved
commit 1e3e948b1ac1a311bbbc88bb753742f2f406514b
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Sun, 05 Aug 2018 17:32:23 -0400
Remove debug output.
Resolves
Bug: 14843, this outputs the var_dump into the output stream,which breaks EAS searching.
M lib/Api.php
https://github.com/horde/turba/commit/1e3e948b1ac1a311bbbc88bb753742f2f406514b
commit a3667bdb562d99c11f411c8d486828b1ae58dca5
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Sun, 05 Aug 2018 17:31:20 -0400
[mjr] Remove debug output that was breaking EAS searches (
Bug: 14843).M docs/CHANGES
M package.xml
https://github.com/horde/turba/commit/a3667bdb562d99c11f411c8d486828b1ae58dca5
commit 499a12789dcaf5786d21f6e8423491ac38033af9
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Sun, 05 Aug 2018 17:28:54 -0400
Remove debug output.
Resolves
Bug: 14843, this outputs the var_dump into the output stream,which breaks EAS searching.
M lib/Api.php
https://github.com/horde/turba/commit/499a12789dcaf5786d21f6e8423491ac38033af9
there in FRAMEWORK_5_2.
string(4) "name"
string(5) "email"
string(4) "name"
string(5) "email"
[...]
some other debug output somewhere in the code path.
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ GAL Search - ERR: Unexpected output: string(5) "email"
Queue ⇒ Synchronization
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
[3597][2018-08-03T18:13:58+02:00] I: <Search:Search>
[3597][2018-08-03T18:13:58+02:00] I: <Search:Store>
[3597][2018-08-03T18:13:58+02:00] I: <Search:Name>
[3597][2018-08-03T18:13:58+02:00] I: GAL
[3597][2018-08-03T18:13:58+02:00] I: </Search:Name>
[3597][2018-08-03T18:13:58+02:00] I: <Search:Query>
[3597][2018-08-03T18:13:58+02:00] I: WA
[3597][2018-08-03T18:13:58+02:00] I: </Search:Query>
[3597][2018-08-03T18:13:58+02:00] I: <Search:Options>
[3597][2018-08-03T18:13:58+02:00] I: <Search:Range>
[3597][2018-08-03T18:13:58+02:00] I: 0-19
[3597][2018-08-03T18:13:58+02:00] I: </Search:Range>
[3597][2018-08-03T18:13:58+02:00] I: </Search:Options>
[3597][2018-08-03T18:13:58+02:00] I: </Search:Store>
[3597][2018-08-03T18:13:58+02:00] I: </Search:Search>
[3597][2018-08-03T18:13:59+02:00] ERR: Unexpected output: string(5) "email"
string(4) "name"
string(5) "email"
string(4) "name"
string(5) "email"
[...]
turba/config/backends.local.php
'map' => array(
'__key' => 'dn',
'name' => 'displayname',
'email' => 'mail',
'homePhone' => 'homephone',
'workPhone' => 'telephonenumber',
'cellPhone' => 'mobile',
'firstname' => 'givenname',
'lastname' => 'sn',
'company' => 'o',
'workStreet' => 'street',
'workPostalCode' => 'postalCode',
'workCity' => 'l',