Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3225] Android: Picker Custom Attributes

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2011-05-16T11:02:09.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.7.0, Sprint 2011-14, Release 1.6.2
ComponentsAndroid
Labelsandroid, attribute, custom, defect, picker, release-1.6.2, release-1.7.0, rplist
ReporterAlan Leard
AssigneeDon Thorp
Created2011-04-15T03:39:56.000+0000
Updated2011-05-16T11:02:09.000+0000

Description

Android is unable to recognize custom attributes from a picker.

Reference Ticket: http://developer.appcelerator.com/helpdesk/view/75131">http://developer.appcelerator.com/helpdesk/view/75131

Tested using Kitchen Sink on iOS and Android Emulator APIs 2.2.

Comments

  1. Ben 2011-04-15

    +1 on this as it makes switching between iOS and Android much easier

  2. Bill Dawson 2011-04-15

    (from [2c9933f9897f25ab56aa34b7f0d3fbb016bf1cbc]) Oops, failed to call super's handleCreationDict() [#3225] https://github.com/appcelerator/titanium_mobile/commit/2c9933f9897f25ab56aa34b7f0d3fbb016bf1cbc"> https://github.com/appcelerator/titanium_mobile/commit/2c9933f9897f...

  3. Bill Dawson 2011-04-15

    Very simple failcase app.js. QE can use this for testing:

       var row = Ti.UI.createPickerRow({title: 'blah', custom: 'blee'});
       alert(row.custom);
       

    In the failcase, the alert dialog will show "undefined." When running with the fix it will say "blee".

  4. Bill Dawson 2011-04-15

    (from [526c09867c8ed5509df18a55f2155be50a04a294]) Drillbit test for the picker row attribute bug. [#3225] https://github.com/appcelerator/titanium_mobile/commit/526c09867c8ed5509df18a55f2155be50a04a294"> https://github.com/appcelerator/titanium_mobile/commit/526c09867c8e...

  5. Bill Dawson 2011-04-15

    (from [7e3eda295310ac9df99a58598ca0de998c65c1b2]) Call super's handleCreationDict [#3225] https://github.com/appcelerator/titanium_mobile/commit/7e3eda295310ac9df99a58598ca0de998c65c1b2"> https://github.com/appcelerator/titanium_mobile/commit/7e3eda295310...

  6. Bill Dawson 2011-04-15

    Backported to 1_6_X.

  7. Thomas Huelbert 2011-04-18

    closing against 1.6.2 GA

JSON Source