Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7552] Android: FastDev: Ti.include: blank include files fail to load and invalidates app

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-02-14T23:29:01.000+0000
Affected Version/sRelease 1.8.0.1, Release 2.0.0, Release 1.8.2
Fix Version/sSprint 2012-03, Release 2.0.0, Release 1.8.2
ComponentsAndroid
Labelsregression
ReporterDustin Hyde
AssigneeBill Dawson
Created2012-02-06T13:40:50.000+0000
Updated2012-02-14T23:29:01.000+0000

Description

Ti.include files with no code content fail to load in FastDev and app behavior fails to continue. Regression. Works in 1.8.1 stable. Previously occurred in 1.8.0.1 stable. Occurs in 1.9.0 beta and 1.8.2 beta on all emulators in V8/Rhino except 4.0 w/V8. Log attached. Steps to Reproduce: 1. Run IncludeTest.zip project on any Android emulator (except 4.0 w/V8). Expected Result: App should load properly and display an alert: 'Ti.include worked!'. Actual Result: App fails to load and generates runtime error.

Attachments

FileDateSize
IncludeTest.zip2012-02-06T13:40:50.000+00002322533
v8 emu 2.3.3 runtime error.txt2012-02-06T13:40:50.000+00006748

Comments

  1. Bill Dawson 2012-02-07

    Testing Notes

    Test above per Dustin's instructions, however in 4 scenarios to ensure nothing is broken: 1) In V8 with FastDev enabled. 2) In V8 with FastDev *off*. 3) In Rhino with FastDev enabled. 4) In Rhino with FastDev *off*.
  2. Bill Dawson 2012-02-07

    Pull request ready https://github.com/appcelerator/titanium_mobile/pull/1370
  3. Dustin Hyde 2012-02-09

    Closing as Fixed. SDK: 1.9.0.v20120209094635 Android: V8/Rhino Studio: 1.0.8.201201262211 OS: Lion Devices Tested: Android Emulator 2.2/2.3.3/4.0.3

JSON Source