Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-23341

Exception on iPhone: no row found for index. in -TiUITableViewProxy insertRowAfter

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 5.4.0
    • Component/s: iOS
    • Labels:
      None
    • Environment:

      iPhone-SDK: 2.3.1

    • Story Points:
      3
    • Sprint:
      2016 Sprint 16 SDK

      Description

      When you are trying to add numerous rows to a TableView using insertRowAfter it randomly causes exceptions: "no row found for index. in -TiUITableViewProxy insertRowAfter:";"

      It looks line some code lines have been commented out for unknown reason and causing issues on the UI thread. Please see this commit:
      https://github.com/appcelerator/titanium_mobile/commit/040cb9ab4350e6f3bd6eb5e22770f76ec9791b5e

      And see this issue on the forum:
      http://developer.appcelerator.com/question/129708/obj-c-fix-for-error-on-tableview-insertrowbefore--insertrowafter

      This line should be back on those methods:
      ENSURE_UI_THREAD(insertRowAfter,args);

        Attachments

          Activity

            People

            • Assignee:
              apetkov Angel Petkov
              Reporter:
              petervaradi Peter Varadi
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-9716
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code