Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1219] ALLOY: prevent parsing of {{ }} in alloy views.

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2015-01-08T00:41:22.000+0000
Affected Version/sn/a
Fix Version/sAlloy 1.6.0, Alloy 1.7.0
ComponentsModels
Labelsn/a
ReporterDavid Bankier
AssigneeTim Poulsen
Created2015-01-06T08:23:07.000+0000
Updated2015-03-19T19:42:56.000+0000

Description

Alloy is currently catching and interpreting as an alloy binding when it should only catch { }. This change is needed for https://github.com/dbankier/nano.

Attachments

FileDateSize
Screen Shot 2015-01-13 at 9.34.32 AM.png2015-01-13T14:35:10.000+000080603

Comments

  1. David Bankier 2015-01-06

    PR: https://github.com/appcelerator/alloy/pull/648 Change by @fokkezb
  2. Tim Poulsen 2015-01-07

    Tested the PR, comments on GitHub. The PR fails in some cases.
  3. David Bankier 2015-01-07

    The failing cases do not relate to this issue. It relates to Alloy data-binding not supporting cases like this:
       <TableViewRow title="My hero is {name}"/>
       
  4. Tim Poulsen 2015-01-08

    PR merged
  5. Feon Sua Xin Miao 2015-01-13

    Backport to 1_6_X : https://github.com/appcelerator/alloy/pull/654
  6. Tim Poulsen 2015-01-13

    Note to those testing: Run the ALOY\-1219 test app. Go to the Collection tab. Output should match the attached screen.
  7. Eric Wieber 2015-03-19

    Verified fixed using: Titanium SDK 4.0.0.v20150317234215 Studio 3.4.2.201502181619 CLI 3.4.2 Xcode 6.2 Node 0.12 Alloy 1.6.0-alpha Output matches attached screenshot. `` is not parsed.

JSON Source