Uploaded image for project: 'Titanium Mobile'
  1. Titanium Mobile
  2. TIMOB-11540

iOS:Tableviewrow: Unrecognised selector being reported by ti_query.js

    Details

      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.

      1. ErrorPage.png
        130 kB

        Issue Links

          Activity

          Hide
          ingo Ingo Muschenetz added a comment -

          Can you try this with a more recent SDK? This one is a little old.

          Show
          ingo Ingo Muschenetz added a comment - Can you try this with a more recent SDK? This one is a little old.
          Hide
          sbhadauria Shyam Bhadauria added a comment -

          Tested with build - 3.0.0.v20121018214614. Error still occurring.

          Show
          sbhadauria Shyam Bhadauria added a comment - Tested with build - 3.0.0.v20121018214614. Error still occurring.
          Hide
          srahim Sabil Rahim added a comment -

          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.

          Show
          srahim Sabil Rahim added a comment - 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.
          Show
          vduggal Vishal Duggal (Inactive) added a comment - PR for master https://github.com/appcelerator/titanium_mobile/pull/3324 PR for 3_0_X https://github.com/appcelerator/titanium_mobile/pull/3325
          Hide
          nhuynh Natalie Huynh added a comment -

          Tested with 3.0.0.v201211300200208 on iPad 4 6.0.1

          Show
          nhuynh Natalie Huynh added a comment - Tested with 3.0.0.v201211300200208 on iPad 4 6.0.1

            People

            • Assignee:
              vduggal Vishal Duggal (Inactive)
              Reporter:
              sbhadauria Shyam Bhadauria
            • Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development

                  Poker Sessions

                  This issue is currently not assigned to any Poker Session.