Titanium JIRA Archive
Alloy (ALOY)

[ALOY-629] app.tss not being applied if set in a platform-specific styles folder

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-04-25T18:30:54.000+0000
Affected Version/sAlloy 1.1.1, Alloy 1.1.0, Alloy 1.0.0
Fix Version/sAlloy 1.2.0, 2013 Sprint 09
ComponentsXML
Labelsqe-testadded
ReporterFederico Casali
AssigneeTony Lukasavage
Created2013-04-19T02:21:26.000+0000
Updated2014-06-22T13:21:27.000+0000

Description

Problem description

app.tss styles are not being applied if the style file is placed inside a platform specific style folder Reproducible with also Alloy 1.0.0 - not a regression.

Steps to reproduce

See attached sample code: app.zip Run the code on Android and iOS platforms Result: only 'app/styles/app.tss' styles are applied. app/styles//app.tss are ignored. Setting platform specific 'app.tss' files using Themes, the theme style are applied and shown in the app, ignoring the generic 'app/styles//app.tss'. See attached sample code "app_APP-TSS.zip" from ALOY-628.

Attachments

FileDateSize
app_APP-TSS.zip2013-04-19T02:21:26.000+00003810353
app.zip2013-04-19T02:21:26.000+00003684791

Comments

  1. Tony Lukasavage 2013-04-25

    PR: https://github.com/appcelerator/alloy/pull/120 test app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-629 The test app should obviously compile successfully for all supported platforms and run without exceptions. Instructions for validating the test app functionally are contained within the app itself and can be followed once it is running.
  2. Federico Casali 2013-08-01

    Verified working as expected. Titanium SDK 3.1.2.v20130730133101 Alloy 1.2.0-alpha Appcelerator Studio 3.1.2.201307261628 CLI 3.1.2 Node 0.8.22 Closing.

JSON Source