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

Regression: Model instance data binding no longer works

    Details

    • Story Points:
      5
    • Sprint:
      2016 Sprint 07 Tooling

      Description

      Data binding of local model instances throws an exception in Alloy 1.8.3 and 1.8.4 because of this line change to resolve ALOY-1369.

      XML

      		<Label top="20" text="{$.modelinstance.foo}" />
      		<Label text="{$.modelinstance.foo} {$.modelinstance.bar}" />
      

      compiled

              $.__alloyId4.text = _.template("{$.modelinstance.foo}", {
                  modelinstance: transformed
              }, {
                  interpolate: /\{([\s\S]+?)\}/g
              });
              $.__alloyId5.text = _.template("{$.modelinstance.foo} {$.modelinstance.bar}", {
                  modelinstance: transformed
              }, {
                  interpolate: /\{([\s\S]+?)\}/g
              });
      

        Attachments

          Activity

            People

            • Assignee:
              fokkezb Fokke Zandbergen
              Reporter:
              fokkezb Fokke Zandbergen
            • Watchers:
              6 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