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

platform attribute with comma-separated string not correctly applied during build

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Alloy 1.4.0
    • Component/s: XML
    • Environment:

      Appcelerator Studio Build: 3.2.3.201404181520
      SDK Build : 3.2.3 GA
      acs : 1.0.14
      alloy : 1.3.1
      jitsu : 0.13.0
      npm : 1.3.2
      titanium : 3.2.3
      titanium-code-processor : 1.1.0
      Device: iPhone4
      IOS : 6.0

      Description

      If multiple platforms are applied to the tableviewrow separated by comma then the rows are not visible for IOS/android platform.

      Steps to reproduce:
      1. Copy paste the code in alloy project in index.js, index.xml files respectively and run the app.

      Actual Result:
      Only two rows are visible.

      Expected Result:
      Three rows should be visible

      index.js
      $.mainWin.open();
       

      index.xml
      <Alloy>
      	<Window id="mainWin" backgroundColor="white" layout="vertical">
      	<TableView id="container" top="30">
      			<TableViewRow id="row1" height="50" title="Row1" platform="ios,android">
      			</TableViewRow>
      			<TableViewRow id="row2" height="50" title="Row2">
      			</TableViewRow>
      			<TableViewRow id="row1" height="50" title="Row3" platform="ios">
      			</TableViewRow>
      	</TableView>
      	</Window>		
      </Alloy>
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                skypanther Tim Poulsen
                Reporter:
                svarshney Sapan Varshney
              • Watchers:
                4 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