Formatter class kOptionsFormatter doesn't always correctly parse data

2 views
Skip to first unread message

Alexander Obuhovich

unread,
Feb 10, 2012, 3:58:00 AM2/10/12
to In-Portal Bugs
I've noticed that if case if user enters "7-8 Servings" into a field, that has kOptionFormatter class set as it's formatter and Array (.... 6 => 6, 7 => 7, 8 => 8 ....) options, then entered value is mistakenly interpreted as "7".

invalid_optionformatter_parsing_fix.patch

Dmitry A.

unread,
Feb 10, 2012, 4:18:43 PM2/10/12
to in-port...@googlegroups.com
Thanks for the catch and patch Alex.

DA
Reply all
Reply to author
Forward
0 new messages