Titanium JIRA Archive
Alloy (ALOY)

[ALOY-803] Windows: issues using subfolders in controllers/views

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-08-23T02:42:54.000+0000
Affected Version/sAlloy 1.2.2, Alloy 1.2.1, Alloy 1.2.0
Fix Version/sAlloy 1.2.1, 2013 Sprint 17
ComponentsRuntime, Titanium SDK
Labelsqe-testadded
ReporterFederico Casali
AssigneeTony Lukasavage
Created2013-08-21T04:10:12.000+0000
Updated2013-08-26T18:55:13.000+0000

Description

Problem description

On Windows, issues could be encountered when using controller subfolders.

Scenario #1

Alloy version 1.2.1-cr 1. Run the "sample1_app.zip" sample code and click on the 'title 1' row. 2. Click on the 'Click' button Result: 'Runtime error' is displayed, not being able to find the requested module "Requested module not found: alloy/styles/featureswin1" (see screenshot "scenario1_screenshot").

Scenario #2

Alloy version 1.2.1-cr 1. Run the "sample2_app.zip" sample code and click on the 'title 1' row. 2. Click on the 'Click' button Result: no Runtimes error are now displayed. App works as expected. In this case, 'win1' is not inside the 'features' subfolder.

Scenario #3

Alloy version 1.2.1 (latest from branch) and 1.2.2 (master) 1. Run the "sample1_app.zip" sample code and click on the 'title 1' row. 2. Click on the 'Click' button Result: 'Runtime error' is displayed, not being able to find the requested module "Requested module not found: alloy/styles/features\win1" (see screenshot "scenario3_screenshot").

Scenario #4

Alloy version 1.2.1 (latest from branch) and 1.2.2 (master) 1. Run the "sample2_app.zip" sample code and click on the 'title 1' row. 2. Click on the 'Click' button Result: no Runtimes error are now displayed (just like Scenario #2)

Note

Sample codes works correctly on Linux and Mac OS X machines using both Alloy 1.2.1-cr and 1.2.2

Attachments

FileDateSize
sample1_app.zip2013-08-21T20:23:07.000+00005161179
sample2_app.zip2013-08-21T20:23:07.000+00005160831
scenario1_screenshot.png2013-08-21T20:23:07.000+000052760
scenario3_screenshot.png2013-08-21T20:23:07.000+000052845

Comments

  1. Tony Lukasavage 2013-08-23

    PR: https://github.com/appcelerator/alloy/pull/233 Test the scenarios in the ticket on Windows and ensure that the aforementioned runtime errors no longer exist.
  2. Federico Casali 2013-08-23

    Verified fixed with the attached samples TiSDK 3.1.3.v20130822140128 Alloy 1.2.1-cr2 & 1.2.2 master Ti Studio 3.1.3.201308201707 CLI 3.1.2 GA Node 0.10.13 Closing.

JSON Source