Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14072] iOS: Adding View after adding same view x2 causes NSRangeException

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.1.0
Fix Version/sn/a
ComponentsiOS
LabelsView, crash, parity
ReporterCarter Lathrop
AssigneeUnknown
Created2013-05-30T22:03:15.000+0000
Updated2018-02-28T20:04:12.000+0000

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

FileDateSize
app.js2013-05-30T22:03:15.000+0000595

Comments

  1. Carter Lathrop 2013-05-31

    This seems to work fine in Android (tested on Galaxy S3) but crashes in iOS for some reason. Possible parity behavior. Moving to Ti-Mobile. Thanks for bringing this to our attention, Carter

JSON Source