Bug#448606: wammu breaks on contact update in case number contains spaces

2007-10-30 Thread Florian Lohoff
Package: wammu
Version: 0.23-1
Severity: minor


Hi,
in case you decide to enter a number with spaces e.g. +49 171 2280134
wammu happily accepts this via cut'n'paste but later fails to write the
number to the phone dropping all entered information.

Actually this is a multifold bug - I would expect wammu to allow any
input and normalize the number automatically or warn if impossible and
thus should silently remove spaces or maybe tell the user about a
broken format.

It should not fail and drop all entered information.

As a side note there is also a editing bug hidden. When pasting a number
with spaces like the above one is not able to add a single digit anymore
as long as a space is contained in the number.

Flo

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-rc1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages wammu depends on:
ii  python   2.4.4-6 An interactive high-level object-o
ii  python-central   0.5.15  register and build utility for Pyt
ii  python-gammu 0.22-3  Python module to communicate with 
ii  python-wxgtk2.6  2.6.3.2.2-1 wxWidgets Cross-platform C++ GUI t

Versions of packages wammu recommends:
ii  gmobilemedia  0.4+dfsg-2 GTK application used to browse a m
ii  python-bluez [python-bluetoot 0.9.2-1Python wrappers around BlueZ for r
ii  timidity  2.13.2-15  Software sound renderer (MIDI sequ

Versions of packages python-gammu depends on:
ii  libc6 2.6.1-5GNU C Library: Shared libraries
ii  libgammu2 1.13.94-1  Mobile phone management library
ii  python2.4.4-6An interactive high-level object-o
ii  python-central0.5.15 register and build utility for Pyt

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#448606: wammu breaks on contact update in case number contains spaces

2007-10-30 Thread Michal Čihař
tags 448606 pending
thanks

Dne Tue, 30 Oct 2007 12:15:24 +0100
Florian Lohoff [EMAIL PROTECTED] napsal(a):

 in case you decide to enter a number with spaces e.g. +49 171 2280134
 wammu happily accepts this via cut'n'paste but later fails to write the
 number to the phone dropping all entered information.
 
 Actually this is a multifold bug - I would expect wammu to allow any
 input and normalize the number automatically or warn if impossible and
 thus should silently remove spaces or maybe tell the user about a
 broken format.
 
 It should not fail and drop all entered information.

You're right. At some point wxPython seems to changed interface to
validators and I didn't notice this, so the code which was supposed to
do this did exactly nothing. Fixed in SVN.

 As a side note there is also a editing bug hidden. When pasting a number
 with spaces like the above one is not able to add a single digit anymore
 as long as a space is contained in the number.

The space is now removed from pasted number.

-- 
Michal Čihař | http://cihar.com | http://blog.cihar.com


signature.asc
Description: PGP signature