Uploaded image for project: 'Alloy'
  1. Alloy
  2. ALOY-803

Windows: issues using subfolders in controllers/views

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Alloy 1.2.2, Alloy 1.2.1, Alloy 1.2.0
    • Fix Version/s: Alloy 1.2.1, 2013 Sprint 17
    • Component/s: Runtime, Titanium SDK
    • Labels:
    • Environment:

      TiSDK 3.1.2.GA
      Alloy 1.2.1-cr , 1.2.2
      Appcelerator Studio 3.1.2.201308091728
      CLI 3.1.2.GA
      Node 0.10.13

      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

        1. sample1_app.zip
          4.92 MB
        2. sample2_app.zip
          4.92 MB
        3. scenario1_screenshot.png
          scenario1_screenshot.png
          52 kB
        4. scenario3_screenshot.png
          scenario3_screenshot.png
          52 kB

          Activity

            People

            • Assignee:
              tlukasavage Tony Lukasavage
              Reporter:
              fcasali Federico Casali
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration