Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1133] Alloy 1.5b fails to build a project using Napp Drawer if one of the menus is <Required> ed in.

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2014-09-09T13:42:41.000+0000
Affected Version/sAlloy 1.5.0
Fix Version/sAlloy 1.5.0
ComponentsModels, Tooling
Labelsn/a
ReporterStephen Feather
AssigneeTim Poulsen
Created2014-09-08T23:32:45.000+0000
Updated2014-09-15T09:56:07.000+0000

Description

Expectation

Project to build

Reality

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

FileDateSize
Broken_Alloy.zip2014-09-08T23:32:45.000+000010080084

Comments

  1. Tim Poulsen 2014-09-08

    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 tag and comment out the window that has the ID of menu (make sure to comment the entire tag and its children). Run the app. It should compile and run without errors. Drag to the right to expose the menu.
  2. Feon Sua Xin Miao 2014-09-09

    PR merged.
  3. Stephen Feather 2014-09-09

    hacked the PR into an installed 1.5 beta2 and build passes this point now.
  4. Satyam Sekhri 2014-09-15

    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)

JSON Source