Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24149] Android: Remove redundant Ti.UI.Window url property code

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2016-12-06T02:06:50.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.1.0
ComponentsAndroid
Labelsqe-6.1.0
ReporterGary Mathews
AssigneeGary Mathews
Created2016-11-16T08:00:08.000+0000
Updated2016-12-08T17:58:22.000+0000

Description

There is still code that exists for handling the deprected and removed property url for Ti.UI.Window. Using this property will cause the application to crash.
Ti.UI.createWindow({
    title: 'TEST',
    url: 'preapproval.js',
    backgroundColor: '#fff'
});

Comments

  1. Gary Mathews 2016-11-16

    master: https://github.com/appcelerator/titanium_mobile/pull/8610
  2. Josh Longton 2016-12-08

    Verified as fixed the application no longer crashes when url is present. Tested on: {noformat} macOS Sierra 10.12.1 Nexus 5X(6.0.1) Nexus 6p (7.0) android emulator (4.4.2, 6.0) Ti SDK: 6.1.0.v20161207121046 Appc NPM: 4.2.8 App CLI: 6.1.0-309 Node v4.4.7 {noformat} *Closing Ticket.*

JSON Source