[ALOY-1133] Alloy 1.5b fails to build a project using Napp Drawer if one of the menus is <Required> ed in.
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Critical |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2014-09-09T13:42:41.000+0000 |
| Affected Version/s | Alloy 1.5.0 |
| Fix Version/s | Alloy 1.5.0 |
| Components | Models, Tooling |
| Labels | n/a |
| Reporter | Stephen Feather |
| Assignee | Tim Poulsen |
| Created | 2014-09-08T23:32:45.000+0000 |
| Updated | 2014-09-15T09:56:07.000+0000 |
Description
Expectation
Project to buildReality
Project doesn't build
[INFO] style: "index.tss"
[INFO] view: "index.xml"
[DEBUG] /usr/local/lib/node_modules/alloy/Alloy/commands/compile/styler.js:582
[DEBUG] var standard = bindingStr.match(/^\s*\'\+(.*)\+\'\s*$/)[1];
[DEBUG] ^
[ERROR] : Cannot read property '1' of null
Attachments
| File | Date | Size |
|---|---|---|
| Broken_Alloy.zip | 2014-09-08T23:32:45.000+0000 | 10080084 |
PRs: 1_5_X: https://github.com/appcelerator/alloy/pull/551 master: https://github.com/appcelerator/alloy/pull/550 Functional review: Download the attached app. Edit the app/views/index.xml file to uncomment the
PR merged.
hacked the PR into an installed 1.5 beta2 and build passes this point now.
The project builds and runs successfully. Tested On: SDK: 3.4.0.v20140913174915 Studio: 3.4.0.201409131030 CLI: 3.4.0-rc3 Alloy: 1.5.0-rc2 Xcode: Xcode 6 GM seed Device: iPhone 5s (v8.0 GM), iPhone 4 (v7.1.2)