[TIMOB-23845] App Compile doesn't trow critical error when compiling fails do to i18n error
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-12-12T15:57:51.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Rene Pot |
Assignee | Chee Kiat Ng |
Created | 2016-08-08T15:17:33.000+0000 |
Updated | 2016-12-12T15:57:51.000+0000 |
Description
When there is an error in the i18n file (invalid xml) the compile doesn't throw an error but a "debug" instead. Default logging doesn't show debug, so it appears compiling fails silently.
[DEBUG] : Processing i18n file: es/app.xml
[DEBUG] : Processing i18n file: es/strings.xml
element parse error: Error: invalid tagName:<<<<<<
@#[line:210,col:1]
element parse error: Error: invalid tagName:<<<<<
@#[line:210,col:2]
element parse error: Error: invalid tagName:<<<<
@#[line:210,col:3]
element parse error: Error: invalid tagName:<<<
@#[line:210,col:4]
Now I know what the issue is, but it would be nice if there was an actual error in the logging. Especially because compile stops at this point
Hello, Can you provide an instruction on how we can test the issue and successfully regenerate? Thanks.
Just make the xml invalid
Hello, The issue is not regeneratable with SDK 6.0.0. Error in strings.xml does not cause the app to faild during compiling. Thanks. Verified: