Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6075] Android: Contacts: Rhino only, clicking the button to search by id or group id causes the application to crash

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2011-11-15T16:33:50.000+0000
Affected Version/sRelease 1.8.0
Fix Version/sSprint 2011-46, Release 1.8.0.1
ComponentsAndroid
Labelsbranch-v8
ReporterNatalie Huynh
AssigneeAllen Yeung
Created2011-11-08T10:52:10.000+0000
Updated2014-06-19T12:42:49.000+0000

Description

Steps To Reproduce: 1. Launch Application 2. Phone > Contacts > Search By ID 3. Click on either button to search with no value entered Actual Result: Application Crashes Expected Result: Should return nothing

Comments

  1. Allen Yeung 2011-11-10

    PR ready: https://github.com/appcelerator/titanium_mobile/pull/670
  2. Marshall Culpepper 2011-11-15

    The crash was caused by some bad logic in our binding layer, but there also a few other oddities about this test: - getGroupByID doesn't exist in Android (yet), so we'll surround that part of the test with an if (platform == android) check for now - FIND CONTACT BY ID would allow you to find without entering any text, so we're adding a try/catch that gives a friendlier error to the KS test
  3. Natalie Huynh 2011-12-07

    Tested with 1.8.0.1.v20111207090257 Xoom (3.2.1) - v8 Samsung Tab 10.1 (3.1) - rhino

JSON Source