[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.
Comments
- Brenton House 2019-10-01 Created PR: https://github.com/appcelerator/alloy/pull/939
- Samir Mohammed 2019-11-19
*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*MacOS Catalina 10.15.1 beta Xcode 11 Node.js 10.16.3 iphone 8 13.2 "NPM":"4.2.15-1","CLI":"7.1.2-7" SDK Version 8.3.0.v20191114073239