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

iOS: Adding View after adding same view x2 causes NSRangeException

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Release 3.1.0
    • Fix Version/s: None
    • Component/s: iOS
    • Labels:
    • Environment:

      iOS, Ti 3.1.0.GA

      Description

      You have View1.
      Then you add View2 to View1, twice.
      Then you add View3 to View1 - crash!

      See app.js

      Would be nice if Ti could throw some sort of warning when double adding a view, like it does under other circumstances or if it was more forgiving and kept its index straight.
      Dunno if this is solveable, but thought I would share it.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              clathrop Carter Lathrop
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

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

                  Git Integration