Summary | Unification of instant messenger attributes |
Queue | Turba |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | mrubinsk (at) horde (dot) org |
Requester | thomas.jarosch (at) intra2net (dot) com |
Created | 04/15/2013 (4464 days ago) |
Due | |
Updated | 04/18/2013 (4461 days ago) |
Assigned | 04/17/2013 (4462 days ago) |
Resolved | 04/18/2013 (4461 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | Yes |
commit 2b9e0896111eb40b02324a827fc6177e2d6fa660
Author: Thomas Jarosch <thomas.jarosch@intra2net.com>
Date: Thu Apr 18 13:06:58 2013 -0400
Bug: 12180Standardize on imaddress fields.Signed-off-by: Michael J Rubinsky <mrubinsk@horde.org>
.../turba/config/backends.d/20-kolab.php | 4 +-
...Add-support-to-sync-the-country-fields-bu.patch | 36
++++++++++++++++++++
turba/config/attributes.php | 12 ++-----
turba/config/backends.php | 4 +-
turba/data.php | 2 +-
turba/docs/UPGRADING | 9 +++++
turba/lib/Driver.php | 7 +++-
turba/test/Turba/TestCase.php | 2 +-
8 files changed, 59 insertions(+), 17 deletions(-)
http://git.horde.org/horde-git/-/commit/2b9e0896111eb40b02324a827fc6177e2d6fa660
For my users, I'll keep it in my local FRAMEWORK_5_0 branch
since I have full control of all the packages / configs involved.
changing it to something else would create a BC mess :) We avoided it
anyway...
calls it. It is mapped, in Turba, to the turba field name in the
protected static member Turba_Driver::_asMap.
Then of course there would be no BC issue.
State ⇒ Assigned
Assigned to Michael Rubinsky
the patch that removes the attribute for the FRAMEWORK_5_0 branch.
The rename inside the Kolab section is safe.
deletion of the attribute isn't enough to avoid sort-of-bc-issues
because we are changing the name of the attribute when it is used in
code. I.e., keeping it attributes might avoid undefined index errors
(or whatever), but the attribute won't be used for anything in the code.
In other words, we should do all of it in master, and document the
need to change the attribute in any custom backend configurations in
UPGRADING.
changing it to something else would create a BC mess :) We avoided
it anyway...
it. It is mapped, in Turba, to the turba field name in the protected
static member Turba_Driver::_asMap.
when Horde_ActiveSync gets updated and turba is hold back.
as far as BC goes. However, "imaddress" seems a good choice to for
consistency.
changing it to something else would create a BC mess :) We avoided it
anyway...
the patch that removes the attribute for the FRAMEWORK_5_0 branch. The
rename inside the Kolab section is safe.
State ⇒ Feedback
from attributes.php as well as changing the name of the attribute that
is used in code could break people's existing custom
configurations/backends.
At the very least, this will also need to be documented in UPGRADING.
when Horde_ActiveSync gets updated and turba is hold back.
as far as BC goes. However, "imaddress" seems a good choice to for
consistency.
New Attachment: v2-0001-Unify-instant-messenger-field-to-new-imaddress-field.patch
New Attachment: 0001-Unify-instant-messenger-field-to-new-imaddress-field.patch
Patch ⇒ Yes
I've tested the vcard export and syncing contacts via ActiveSync <-> Kolab.
Should we keep the "instantMessenger" field in attributes.php till Horde 5.1?
It might break otherwise if the user customized his backends.php.
May be we should just keep it for the FRAMEWORK_5_0 backport.
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Summary ⇒ Unification of instant messenger attributes
Type ⇒ Bug
Queue ⇒ Turba
while testing the transfer of every contact attribute via ActiveSync + Kolab,
I realized the instant messenger field is not synced to/from my device.
Turns out Kolab uses an attribute named "instantMessenger" while
the attributes used for ActiveSync were added as "imaddress",
"imaddress2" and "imaddress3".
At first I thought replacing "instantMessenger" with "imaddress" would
be a no-brainer. Grepping through the code showed that other
places like vcard import/export use that field, too. So vcard import/export
is currently not playing nice with ActiveSync regarding the instant
messenger field.
My current plan looks like this
- Adapt Kolab attribute mapping to use "imaddress"
- Fix up code to use "imaddress"
- Use _("Instant messenger") label for the "imaddress" UI
- Remove "instantMessenger" from attributes.php
Unifying everything to "imaddress" is IMHO the only way to maintain BC
when Horde_ActiveSync gets updated and turba is hold back.
Objections?