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

Not all widgets are compiled and added to Resources directory by Alloy since 1.2.1

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 2013 Sprint 18
    • Component/s: Widgets
    • Labels:
      None

      Description

      Since version 1.2.1 Alloy is throwing errors like:

      Script Error Couldn't find module: alloy/widgets/sc.Weather/controllers/widget

      When I check the Resources directory, not all widgets have been compiled and copied to the Resources directory.

      I created a test app, where I created 2 Widgets using the New -> Alloy Widget menu shortcut and added them to the index controller:

      function doClick(e) {
          alert($.label.text);
      }
       
      $.index.open();
       
      Alloy.createWidget('wz.MenuBarButton');
      Alloy.createWidget('wz.StreamItem');
      

      The widgets are completely left untouched, so is all other code except for the index controller.

      Downgrading to Alloy 1.2.0 solves the issue.

      The test app can be found here: https://dl.dropboxusercontent.com/u/1849335/AppcJira/tv.wappzapp.alloy121test.zip

        Attachments

          Activity

            People

            • Assignee:
              tlukasavage Tony Lukasavage
              Reporter:
              timanrebel Timan Rebel
            • 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