6.0.0-git
2019-04-24

[#12861] Kolab backend: Foreign contacts cause distribution list to vanish
Summary Kolab backend: Foreign contacts cause distribution list to vanish
Queue Turba
Queue Version Git master
Type Bug
State Not A Bug
Priority 1. Low
Owners jan (at) horde (dot) org
Requester thomas.jarosch (at) intra2net (dot) com
Created 2013-11-22 (1979 days ago)
Due
Updated 2014-03-07 (1874 days ago)
Assigned 2014-03-06 (1875 days ago)
Resolved 2014-03-06 (1875 days ago)
Milestone
Patch No

History
2014-03-07 11:04:37 Git Commit Comment #10 Reply to this comment
Changes have been made in Git (master):

commit 7604602d4828f47b00de6af305796d033c9a410d
Author: Jan Schneider <jan@horde.org>
Date:   Fri Mar 7 12:01:13 2014 +0100

     [jan] Don't remove missing contacts from distributions lists in 
Kolab backends (Bug #12861).

  turba/docs/CHANGES |    2 ++
  turba/package.xml  |    2 ++
  2 files changed, 4 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/7604602d4828f47b00de6af305796d033c9a410d
2014-03-06 13:15:38 Thomas Jarosch Comment #9 Reply to this comment
-> turba strips down the distribution list to existing contacts only.
This is correct and intended behavior. Turba distribution lists 
cannot be mapped one-to-one to Kolab distribution lists. In Turba 
list members are links to existing contacts, in Kolab members are 
simple name/email entries.
Contacts that can not (longer) be found, will be removed from a 
distribution list.
can't we just keep the unknown ones (in the Kolab driver) for now?

I'm pretty sure there will be some users that will be quite angry when 
we silently remove entries.
I know at least one user that organizes large contact groups via 
distribution lists in another Kolab client.

If you want to, you can go on with the release, but this
should definitely be resolved in the next release.
The same problem occurs when you add a contact from a different
addressbook to a distribution list. It's simply not added, probably
the same problem.
See bug #12860
thanks, working!

2014-03-06 12:59:48 Jan Schneider Comment #8
State ⇒ Not A Bug
Reply to this comment

[Show Quoted Text - 15 lines]
This is correct and intended behavior. Turba distribution lists cannot 
be mapped one-to-one to Kolab distribution lists. In Turba list 
members are links to existing contacts, in Kolab members are simple 
name/email entries.
Contacts that can not (longer) be found, will be removed from a 
distribution list.
The same problem occurs when you add a contact from a different 
addressbook to a distribution list. It's simply not added, probably 
the same problem.
See bug #12860
2014-03-06 11:55:06 Thomas Jarosch Comment #7
State ⇒ Assigned
Reply to this comment
Currently testing with FRAMEWORK_5_1.

The behavior changed a bit, but it's still trashing data:

Steps to reproduce:
  - create two contacts
  - Add these two contacts to a new distribution list
  - Delete one contact
    (you can see on the IMAP server that it's still part of the dist list)
  - Log out
  - Clear Kolab cache (so everything has to be re-parsed)
  - Log in
- Click on "Edit/View Group Members" of the distribution list

-> turba strips down the distribution list to existing contacts only.


The same problem occurs when you add a contact from a different 
addressbook to a distribution list. It's simply not added, probably 
the same problem.

2014-03-06 09:04:52 Thomas Jarosch Comment #6 Reply to this comment
Still cannot reproduce.
I'll retry with the current code in master.
(once my git devel VM is up and running again today)

2014-03-05 17:03:34 Jan Schneider Comment #5
State ⇒ Not A Bug
Reply to this comment
Still cannot reproduce.
2013-11-23 12:59:27 Jan Schneider Comment #4 Reply to this comment

[Show Quoted Text - 9 lines]
Yes it is
2013-11-22 15:04:34 Thomas Jarosch Comment #3 Reply to this comment
I cannot reproduce this. I don't even have a caching backend 
configured, and whether I delete a distribution list's contact from 
Turba or directly on the IMAP server, the list still works fine.
please try again after clearing your horde cache. IIRC the Kolab IMAP 
code always caches.

Or is $conf['cache'] completely disabled on your box?

2013-11-22 14:48:19 Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
I cannot reproduce this. I don't even have a caching backend 
configured, and whether I delete a distribution list's contact from 
Turba or directly on the IMAP server, the list still works fine.
2013-11-22 14:36:00 Thomas Jarosch Summary ⇒ Kolab backend: Foreign contacts cause distribution list to vanish
 
2013-11-22 14:33:30 Thomas Jarosch Assigned to Jan Schneider
State ⇒ Assigned
 
2013-11-22 14:32:59 Thomas Jarosch Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Summary ⇒ Kolab backend: Foreign contacts case distribution list to vanish
Queue ⇒ Turba
Milestone ⇒
Patch ⇒ No
Reply to this comment
Hi,

when turba encounters a distribution list that contains a contact that 
is not present in the current addressbook, the distribution is not 
shown at all.

Steps to reproduce:
- create two contacts
- Add these two contacts to a new distribution list
- Delete one contact
- Log out
- Clear Kolab cache (so everything has to be re-parsed)
- Log in
-> Distribution list is not shown anymore.

Note: A distribution list can contain an unlimited amount of members which
necessarily don't have to be valid contact objects.

Cheers,
Thomas

Saved Queries