description
Uncaught Error: undefined happens when a Label is wrapped in a View that has a fixed width.
- The wrapped Label has left: 0
- The wrapped Label has a text value set.
Having a Label with a left value of 0, a text value set and that it is contained in a View whose width is fixed (i.e. NOT Ti.UI.SIZE nor Ti.UI.FILL), will make the error to pop when the app launches.
If line 14 gets commented out from the index.tss file, the error will go away.
error message
[ERROR] ----- Titanium Javascript Runtime Error -----
[ERROR] In undefined: undefined,undefined
[ERROR] Message: Uncaught Error: undefined
Sample Code
[Sample Code](
https://propelics.box.com/s/iyfl1ys9ib79fkgxvd8utwjt2vlo3q53)
Confirmed that this issue is fixed by TIMOB-24814. We can close this when TIMOB-24814 is resolved.
This issue has been addressed in [PR1014](https://github.com/appcelerator/titanium_mobile_windows/pull/1014).
6.1.2 backport: https://github.com/appcelerator/titanium_mobile_windows/pull/1038
6.1.2 backport FR passed and merged
Verified fix in 6.1.2.v20170720023139. Closing ticket