Pidgin doesn't realize when the 'friendly name' is too long

Bug #304127 reported by Milton Pividori
4
Affects Status Importance Assigned to Milestone
pidgin (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: pidgin

When you set your friendly name, Pidgin doesn't warn you if it's too long, and it's not saved in the server. So, next time you log in you have your old name. Pidgin should warn about this (friendly name too long).

I am using Ubuntu 8.10 (Pidgin 2.5.2-0ubuntu1).

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/pidgin
NonfreeKernelModules: fglrx
Package: pidgin 1:2.5.2-0ubuntu1
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=es_AR.UTF-8
 SHELL=/bin/bash
SourcePackage: pidgin
Uname: Linux 2.6.27-9-generic i686

Tags: apport-bug
Revision history for this message
Milton Pividori (miltondp) wrote :
Revision history for this message
Magnus S (magnuss) wrote :

Confirmed. I ran pidgin --debug and investigated the output. The remote server runs into a problem:
----------
(15:32:26) soap: read 1390 bytes
(15:32:26) soap: current HTTP/1.1 500 Internal Server Error
Date: Tue, 16 Dec 2008 14:32:29 GMT
Server: Microsoft-IIS/6.0
P3P:CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo"
X-Powered-By: ASP.NET
X-MSNSERVER: BAYABCHWBB139
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/xml; charset=utf-8
Content-Length: 1069
---------

Pidgin gets the
--------------
<errorstring xmlns="http://www.msn.com/webservices/AddressBook">Argument Exceeded Allowed Length DisplayName exceeded length</errorstring>
--------
in return. Pidgin should make use of that string, and show a cute warning to the user.

//magnus

Changed in pidgin:
status: New → Confirmed
Revision history for this message
Magnus S (magnuss) wrote :

Note that pidgin is not only getting the above string as an answer, this is the whole answer:
----------
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>Argument Exceeded Allowed Length DisplayName exceeded length</faultstring><faultactor>http://www.msn.com/webservices/AddressBook/ABContactUpdate</faultactor><detail><errorcode xmlns="http://www.msn.com/webservices/AddressBook">BadArgumentLength</errorcode><errorstring xmlns="http://www.msn.com/webservices/AddressBook">Argument Exceeded Allowed Length DisplayName exceeded length</errorstring><parameterFault xmlns="http://www.msn.com/webservices/AddressBook">DisplayName</parameterFault><machineName xmlns="http://www.msn.com/webservices/AddressBook">BAYABCHWBB139</machineName><additionalDetails><originalExceptionErrorMessage>Argument Exceeded Allowed Length DisplayName exceeded length</originalExceptionErrorMessage></additionalDetails></detail></soap:Fault></soap:Body></soap:Envelope>
(15:32:26) soap: ignoring malformed line: P3P:CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo"
(15:32:26) msn: Operation {Updating Contact Info,} Failed, SOAP Fault was: <soap:Fault><faultcode>soap:Client</faultcode><faultstring>Argument Exceeded Allowed Length DisplayName exceeded length</faultstring><faultactor>http://www.msn.com/webservices/AddressBook/ABContactUpdate</faultactor><detail><errorcode xmlns='http://www.msn.com/webservices/AddressBook'>BadArgumentLength</errorcode><errorstring xmlns='http://www.msn.com/webservices/AddressBook'>Argument Exceeded Allowed Length DisplayName exceeded length</errorstring><parameterFault xmlns='http://www.msn.com/webservices/AddressBook'>DisplayName</parameterFault><machineName xmlns='http://www.msn.com/webservices/AddressBook'>BAYABCHWBB139</machineName><additionalDetails><originalExceptionErrorMessage>Argument Exceeded Allowed Length DisplayName exceeded length</originalExceptionErrorMessage></additionalDetails></detail></soap:Fault>
--------------

Revision history for this message
Magnus S (magnuss) wrote :

Reproduced the bug, and got a backtrace.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the report, it has been some time without any response or feedback in this bug report and we are wondering if this is still an issue for you with the latest release of Ubuntu the Natty Narwhal, May you please test with that version and comment back if you're still having or not the issue? Please have a look at http://www.ubuntu.com/download to know how to install that version.Thanks in advance.

Changed in pidgin (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for pidgin (Ubuntu) because there has been no activity for 60 days.]

Changed in pidgin (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.