Bug 55569

Summary: duplicate messages from telepathy-logger
Product: Telepathy Reporter: Frederic Peters <fpeters>
Component: loggerAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED MOVED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium CC: nicolas
Version: git master   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Test script

Description Frederic Peters 2012-10-03 10:08:04 UTC
Created attachment 68031 [details]
Test script

Empathy displays duplicated messages, I checked the ondisk storage and messages are correctly stored (no duplicates), Guillaume gave me the attached script and this also displays the duplicated messages.
Comment 1 Nicolas Dufresne 2012-10-03 19:20:21 UTC
You will need to provide some of the data you have in your logs (.local/share/TpLogger/logs) along with the list of accounts you have and the contact information you are sending to this script.

Other possibility is to write a unit test that reproduce the issue.
Comment 2 Frederic Peters 2012-10-03 20:59:11 UTC
For example this exchange:

  <message time='20121003T07:52:53' id='pcros@XXX' name='Pierre' token='' isuser='false' type='normal' message-token='82b32d82-f209-4197-9a57-2beafa6a74ab'>en tout cas la SNCF ne m&apos;a rien dit encore</message>
  <message time='20121003T07:53:18' id='fpeters@XXX' name='fpeters' token='' isuser='true' type='normal' message-token='d6e696c6-c8cd-4701-8178-252450e24c09'>« Le trafic voyageurs et marchandises, tout comme les lignes internationales passant par la Belgique, se trouvent complètement paralysés.  »</message>

appears as:

  <Pierre> en tout cas la SNCF ne m'a rien dit encore
  <Pierre> en tout cas la SNCF ne m'a rien dit encore
  <fpeters> « Le trafic voyageurs et marchandises, tout comme les lignes internationales passant par la Belgique, se trouvent complètement paralysés.  »
  <fpeters> « Le trafic voyageurs et marchandises, tout comme les lignes internationales passant par la Belgique, se trouvent complètement paralysés.  »

when using the attached test script.

However, messages that were sent later, and where I do not see any particular changes, 

  <message time='20121003T14:49:59' id='pcros@XXX' name='Pierre' token='' isuser='false' type='normal' message-token='5473babb-aa19-462f-8344-64df107bbb63'>Yep</message>
  <message time='20121003T14:50:35' id='pcros@XXX' name='Pierre' token='' isuser='false' type='normal' message-token='e9b1c3c3-921a-4920-b08d-a8b3c41053e4'>J&apos;ai une erreur avec yelp-build html </message>

are only displayed once.
Comment 3 GitLab Migration User 2019-12-03 19:31:50 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-logger/issues/31.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.