[ALOY-1706] Compile error if Alloy view filename contains hyphen
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2019-11-19T13:59:30.000+0000 |
Affected Version/s | n/a |
Fix Version/s | CLI Release 7.1.2 |
Components | n/a |
Labels | n/a |
Reporter | Brenton House |
Assignee | Brenton House |
Created | 2019-10-01T21:42:54.000+0000 |
Updated | 2019-11-19T13:59:30.000+0000 |
Description
If an Alloy view filename contains a hyphen (i.e.
login-view.xml
), you will get either a compile time or runtime error. Property assignments in auto-generated code should probably use [ ]
notation instead of .
(dot) notation.
Created PR: https://github.com/appcelerator/alloy/pull/939
*Closing ticket.* Fix verified in CLI Version
"NPM":"4.2.15-1","CLI":"7.1.2-7"
. Tested using the KitchenSink app and changing the names of some of the files to include '-'. *Test Environment*