Not logged in. · Lost password · Register
Forum: Community Bugs RSS
comma in a contact's name not properly handled
(ICQ Transport: Messages sent double)

Announcement

11-16-2005, 12:33 by halr9000
Subject: Psi Groupchat (new address)
Join us at the Psi Groupchat (MUC)! Room name: psi@conference.psi-im.org
tacker #1
Member since 01/2004 · 6 posts
Group memberships: Members
Show profile · Link to this post
Running Psi 0.9.1 on Linux.

The following Problem occurs with some ICQ-Contacts.

If I write a message to the contact the first time, the message is actually
sent two times.

<message to="[USERS_FAMILY_NAME]" >
<body>Ok.</body>
</message>

<message to="[USERS_ICQ]@icq.tacker.dyndns.org" >
<body>Ok.</body>
</message>

In return I receive
<message iperror="" from="[USERS_FAMILY_NAME]" type="error" to="m@tacker.dyndns.org/Psi" >
<body>Ok.</body>
<error code="502" >Unable to resolve hostname.</error>
</message>

A new roster entry named 'USERS_FAMILY_NAME' is added with "[   ]" as icon.
Displaying "Users Details" will freeze Psi.

Next time I send a message to hime. Psi just sends
<message to="[USERS_FAMILY_NAME]" >
<body>Ok.</body>
</message>

Even if I click on the ICQ contact entry to send a message to the to filed in the
message window will contain 'USERS_FAMILY_NAME'.

Any ideas?
Avatar
mblsha (Administrator) #2
Member since 11/2002 · 290 posts · Location: Moscow, Russia
Group memberships: Administrators, Developers, Members
Show profile · Link to this post
<message to="[USERS_FAMILY_NAME]" >
<body>Ok.</body>
</message>

Mmm... What is "[USERS_FAMILY_NAME]" like? Like "Misha" or like "Misha@MyFamilyServer.com"? The first case is wrong, and if you use it, you must delete that contact, and add correct one.
tacker #3
Member since 01/2004 · 6 posts
Group memberships: Members
Show profile · Link to this post
Quote by mblsha on 01-14-2004, 01:58:
Mmm... What is "[USERS_FAMILY_NAME]" like? Like "Misha"
Yes.
<message to="Misha" >
<body>Ok.</body>
</message>

This isn't a correct adress, no wonder the Server can't handle it.
But why ist this account created?
Avatar
mblsha (Administrator) #4
Member since 11/2002 · 290 posts · Location: Moscow, Russia
Group memberships: Administrators, Developers, Members
Show profile · Link to this post
Because it is still a valid name for the server. For example, my local server is named 'norka'. You need to delete that incorrect contact from your roster, and add a correct one.
IceRAM (Moderator) #5
Member since 05/2003 · 1286 posts · Location: Bucharest, Romania
Group memberships: Global Moderators, Members
Show profile · Link to this post
Quote by tacker on 01-13-2004, 00:35:
Any ideas?
Have you used Exodus with the same account?

Comment if the question seems totally offtopic: I'm trying to track a pattern: there's a recent post on the maillist with some duplicated entries in the roster that occured after using Exodus.
::/ my .net presence / weblog | psi
tacker #6
Member since 01/2004 · 6 posts
Group memberships: Members
Show profile · Link to this post
Quote by IceRAM on 01-16-2004, 04:34:
Have you used Exodus with the same account?
No.

Checkout these screens.

Writing a message to a ICQ-Contact
http://www.digitalparadise.de/transfer/psi/screen1.png

Check XML-Log. Message is sent two times.
Check Roster. New contact added.
http://www.digitalparadise.de/transfer/psi/screen2.png

Requesting User-Details.
http://www.digitalparadise.de/transfer/psi/screen3.png
Avatar
Kev (Administrator) #7
User title: Project Lead
Member since 11/2002 · 3051 posts · Location: Exeter, UK
Group memberships: Administrators, Developers, Members
Show profile · Link to this post
lol, ok, I understand
It's because you've got a comma in the name, so when you send to "surname, firstname<addr>" it sends to both "surname" and "firstname<addr>"
I don't know if commas are allowed in roster names, I assume so; if not we should stop them, if so we should fix this :)
Psi Project Leader.
Homepage, including development blog
tacker #8
Member since 01/2004 · 6 posts
Group memberships: Members
Show profile · Link to this post
Great this is a solution.
I'll file a bug for that issue.
tacker #9
Member since 01/2004 · 6 posts
Group memberships: Members
Show profile · Link to this post
Bug report:

If a username in the roster contains a comma a message
will be send to every part of the name surrounding the comma(s).

removed link, updated topic - see below
This post was edited on 02-03-2004, 18:04 by Unknown user.
IceRAM (Moderator) #10
Member since 05/2003 · 1286 posts · Location: Bucharest, Romania
Group memberships: Global Moderators, Members
Show profile · Link to this post
Quote by tacker on 02-03-2004, 04:22:
Great this is a solution.
I'll file a bug for that issue.
Topic status: Renamed, Moved topic to Bugs & Merged topics.

The forums are watched by admins and the bugs & features found in the topics are recorded in FlySpray.
Thanks for your interest in making Psi better ;).

FlySpray task for this bug:  #210

IceRAM
::/ my .net presence / weblog | psi
Avatar
Kev (Administrator) #11
User title: Project Lead
Member since 11/2002 · 3051 posts · Location: Exeter, UK
Group memberships: Administrators, Developers, Members
Show profile · Link to this post
iceram: you could have just left it as it was :P
Seriously, it's sometimes useful to see how we got to such topics, so unless it's really misplaced, which this wasn't I don't think we need to move stuff about
</ot>
Psi Project Leader.
Homepage, including development blog
IceRAM (Moderator) #12
Member since 05/2003 · 1286 posts · Location: Bucharest, Romania
Group memberships: Global Moderators, Members
Show profile · Link to this post
<offtopic>
Well, I would have left it as it was, but I have never seen in my entire life somebody creating a new topic for a Bug discussed in another forum topic (Help and general chat) - especially when there's FlySpray for that.

At first I wanted to delete the new topic and (simply create a new FlySpray task + add reply to the old thread), but I don't like deleting things (especially those which are not mine).

I came to the conclusion that adding the bug report to the rest of the topic is the best choice. But... then again... it was a bug, so it should have stayed in Bugs, where the last post was made. I moved everything to Bugs, into one big thread (bigger with one post actually).

It's "useful to see how we got to such topics" - true, that's why I left the link (& the previous title) in the "Help and general chat" forum.

P.S. I don't like seeing a mess in a distributed environment/community (things usually get lost, forgotten etc.).
</offtopic>
::/ my .net presence / weblog | psi
Close Smaller – Larger + Reply to this post:
Smilies: :mellow: :huh: ^_^ :o ;) :P :D :lol: B) :rolleyes: -_- <_< :) :wub: :angry: :( :unsure: :wacko: :blink: :ph34r:
Special characters:
Go to forum
Unclassified NewsBoard devel of 20051113 © 2003-5 by Yves Goergen
Current time: 10-11-2008, 07:45:59 (UTC -04:00)