[ALOY-1711] An empty view file throws an alloy compile error
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | None |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Alloy 1.14.3 |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Lokesh Choudhary |
Assignee | Feon Sua Xin Miao |
Created | 2019-11-18T19:17:15.000+0000 |
Updated | 2019-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