Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

validate_digits rejects input starting with "0"

#28

I need to prompt the user for his phone number if it´s hidden and reread it to him after input, but say_digits throws an exception in validate_digits.

Validate_digits tries to convert it´s input to an integer and throws an error if it can´t. Sequences of digits starting with '0' obviously cant be valid integers.

Reported by hvameln · May 26th, 2008 @ 06:17 AM

State: resolved
Milestone: none
Assigned to: Jay Phillips Jay Phillips

Activity

  1. Jay Phillips
    Jay Phillips

    Sorry about the long delay on this. The patch is now available on the Adhearsion github repository:

    http://github.com/jicksta/adhear...

    June 7th, 2008 @ 03:04 AM

  2. Jay Phillips
    Jay Phillips
    • State changed from new to resolved

    June 7th, 2008 @ 03:04 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.