Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1711] An empty view file throws an alloy compile error

GitHub Issuen/a
TypeImprovement
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sAlloy 1.14.3
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterLokesh Choudhary
AssigneeFeon Sua Xin Miao
Created2019-11-18T19:17:15.000+0000
Updated2019-11-18T19:17:15.000+0000

Description

Steps to reproduce:

1. Add an empty view (e.g newview.xml) in the views folder. 2. Build for any platform.

Actual results:

1. The alloy compile fails with error below:
[INFO] :   [login-view.xml] view processing...
[INFO] :   view:       "login-view.xml"
[ERROR] :  [xmldom error]   invalid doc source
[DEBUG] :  @#[line:0,col:undefined]
[ERROR] :  1 |
[ERROR] :  Alloy compiler failed
[ERROR] Application Installer abnormal process termination. Process exit value was 1

Expected result:

1. The error message should be improved & the probably the build should not fail.

Comments

No comments

JSON Source