Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix sync "loop" of Kolab categories <-> Horde tags sync. Second part …
…of #12770 Consider this scenario with a new, empty task list: 1. User inserts the first task. The task is tagged with "foobar". This tag is inserted into the tagging backend. 2. User creates another task with a foreign Kolab client. This task is tagged "Foobar" (noticed the capital 'F') 3. nag syncs in the foreign task. The Kolab sync tells the tagging backend to store the tag(s) for the new task object, it does a case insensitive search for an existing tag label. -> it picks the existing row id of "foobar". The next time Nag_Task::synchronizeTags() runs, it notices the tags given by the Kolab driver for the second task differ from the tag backend ("Foobar" != "foobar") -> A sync is triggered. Fix it by making the tag label comparison case insensitive. A similar fix is already in place in kronolith. Signed-off-by: Michael J Rubinsky <mrubinsk@horde.org>
- Loading branch information