Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#88 closed defect (fixed)

Changing "Display Name" deletes *all* the profile dir

Reported by: ibc Owned by: vadim
Priority: critical Milestone:
Component: misc Version: 2.2-RC3
Keywords: Cc:

Description

This seems an annoying issue IMHO.

I just want to change my "shown name" so I press menu "Account" - "Log off..." - "Modify" (account).
I just change the "Name to show" field (and leave untouched the really important data as profile name or SIP user/domain/password).

After the change I press "Connect" and my contact list has been emptied. The fact is that the whole "profile" directory (into $HOME/.qutecom/profiles/) has been deleted and created again from scrath, so all my info has been deleted.

There should be a way to change the SIP Diaply-Name field without deleting the whole profile.

Change History (9)

comment:1 Changed 4 years ago by ibc

  • Priority changed from major to critical

It's ever worse. I press menu "Account" - "Log Off..." and press "Modify" button. If now I just press "Connect" button (I've changed *nothing*) then all my profile is deleted/emptied (contacts lists, calls...).

This is really annoying and 200% anti-usable. Any comment on it please? I think this is really critical.

comment:2 Changed 4 years ago by laurent

I propose to use uuid Instead of *username@realm* to create user directory

comment:3 Changed 4 years ago by ibc

Changing the directory name format wouldn't fix this bug since, even if I modify nothing in the account data, pressing "Account" - "Log Off..." - "Modify" button - "Connect" button, would reset all the profile directory content.

comment:4 Changed 4 years ago by laurent

  • Resolution set to fixed
  • Status changed from new to closed

comment:5 Changed 4 years ago by ibc

  • Resolution fixed deleted
  • Status changed from closed to reopened

This is not correctly solved. If I press:

"Account" - "Log Off..." - "Modify" button - "Connect" button

then Qutecom doens't send SUBSCRIBE for contacts anymore, even if I completely restart Qutecom.

When pressing the above buttonsI see this error in qutecom.log:

(error) 15:56:57 [PhApi] : osip: /home/ibc/Descargas/VoIP/qutecom-2.2/wifo/eXosip/src/eXosip.c:206: module sfp: _osip_kill_transaction transaction should be released by modules!

comment:6 Changed 4 years ago by ibc

In fact, the file "contactlist.xml" get "corrupted" in somwway. The following is a "diff" between the original "contactlist.xml" (just one contact) and the same file after pressing "Account" - "Log Off..." - "Modify" button - "Connect" button:

--- 30008@domain.org_ORIGINAL/contactlist.xml 2009-05-24 16:01:19.000000000 +0200
+++ 30008@domain.org/contactlist.xml       2009-05-24 16:01:49.000000000 +0200
@@ -15,7 +15,6 @@
 </address>
 <im protocol="SIP">
 <id>30000@domain.org</id>
-<account>92c73094-228e-4baa-88c5-419d730a0dc5</account>
 </im>
 <group><![CDATA[friends]]></group>
 <UUID>e04f09cb-ae1e-4ae7-9256-5f7a58028492</UUID>

As you can see, the line <account> has been removed.

comment:7 Changed 4 years ago by ibc

Also note this related error in qutecom.log:

(error) 16:01:42 [ContactList] void IMContactListHandler::imAccountRemovedEventHandler(IMAccountManager&, std::string): this IMAccount has not been added 30008
(error) 16:01:42 [Presence] void PresenceHandler::imAccountRemovedEventHandler(IMAccountManager&, std::string): this IMAccount has not been added=30008
(error) 16:01:42 [Common] void ChatHandler::imAccountRemovedEventHandler(IMAccountManager&, std::string): this IMAccount has not been added: 92c73094-228e-4baa-88c5-419d730a0dc5

comment:8 Changed 4 years ago by laurent

  • Resolution set to fixed
  • Status changed from reopened to closed

bug fix : http://trac.qutecom.org/changeset/398%3A647d5933283b
thank for your report ibc

comment:9 Changed 4 years ago by ibc

Confirmed to work now, thanks :)

Note: See TracTickets for help on using tickets.