Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11540] iOS:Tableviewrow: Unrecognised selector being reported by ti_query.js

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-10-30T21:57:07.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.0.0, Release 3.1.0, 2012 Sprint 22 API, 2012 Sprint 22
ComponentsiOS
Labelsapi, qe-ios100112, regression
ReporterShyam Bhadauria
AssigneeVishal Duggal
Created2012-10-19T12:44:42.000+0000
Updated2012-12-04T17:59:23.000+0000

Description

This is a regression. It works fine in 2.1.3GA While running the app, it gives error "[ERROR] Script Error = -[NSNull objectForKey:]: unrecognized selector sent to instance 0x3bdb4090 at ti_query.js (line 697)." Steps to reproduce 1. Run the attached app on the device Expected result: 1. It should run without any error. Actual result: 1. It gives an application error. Snapshot of the error attached.

Attachments

FileDateSize
ErrorPage.png2012-10-19T12:44:42.000+0000133168
TiPerformanceTest.zip2012-10-19T12:44:42.000+00004882280

Comments

  1. Ingo Muschenetz 2012-10-19

    Can you try this with a more recent SDK? This one is a little old.
  2. Shyam Bhadauria 2012-10-19

    Tested with build - 3.0.0.v20121018214614. Error still occurring.
  3. Sabil Rahim 2012-10-25

    Test case itself wrong in ti_query.js line:697 -> tiQuery.fn.tigger() function expects two arguments but always gets one argument. It seems like in the entire project, when ever the function is called, it is called with passing one argument and thus the second argument is always undefined. The fact that it leads to an exception is because, we are doing a better job at checking for the values passed in 3.0.X than in 2.0.X. So this is in fact not a platform bug but a test case error. Marking ticket as invalid.
  4. Vishal Duggal 2012-10-25

    PR for master https://github.com/appcelerator/titanium_mobile/pull/3324 PR for 3_0_X https://github.com/appcelerator/titanium_mobile/pull/3325
  5. Natalie Huynh 2012-12-04

    Tested with 3.0.0.v201211300200208 on iPad 4 6.0.1

JSON Source