Bug 30592 - slash in identifier breaks the logging
Summary: slash in identifier breaks the logging
Status: RESOLVED MOVED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: logger (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-04 00:46 UTC by Guillaume Desmottes
Modified: 2019-12-03 19:25 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Guillaume Desmottes 2010-10-04 00:46:16 UTC
Original bug report: https://bugzilla.gnome.org/show_bug.cgi?id=631289

if there is a slash in the identifier of a contact the previous conversations
are not working because of the direcotry structure.
Comment 1 Emilio Pozuelo Monfort 2010-12-06 10:43:49 UTC
I don't know how this could happen. The filename is constructed by log_store_xml_get_filename(), where in chat_id the slashes are replaced with underlines, and the same with the account (done by log_store_account_to_dirname()). Any ideas?
Comment 2 Nicolas Dufresne 2011-02-24 09:19:27 UTC
Now the slash replacement is centralized in 0.2 branch. But I do think that this may lead to issue since the retreived entity will not have correct ID. This will prevent matching with existing contact. I think we need to store the entity information somewhere, this would also allow having the Alias and avatar-token when doing a get_entities() or a search().
Comment 3 GitLab Migration User 2019-12-03 19:25:44 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/8.


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.