Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24741] Android: Using "transparent" as a color crashes the app (Regression)

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2017-06-02T23:24:09.000+0000
Affected Version/sRelease 6.1.0
Fix Version/sRelease 6.1.1
ComponentsAndroid
Labelsandroid, backgroundColor, regression, tableviewrow
ReporterHans Knöchel
AssigneeHans Knöchel
Created2017-05-29T11:10:51.000+0000
Updated2017-06-05T22:20:49.000+0000

Description

Comments

  1. Gary Mathews 2017-05-31

    [~hansknoechel] Could we get a test case for this? I'm unable to reproduce the issue setting a windows backgroundColor.
  2. Hans Knöchel 2017-05-31

    The issue was caused by [this line](https://github.com/appcelerator/titanium_mobile/blob/master/android/modules/ui/src/java/ti/modules/titanium/ui/TableViewRowProxy.java#L82) as part of changes in TIMOB-20448. As suggested by [~grazianogrespan] (thanks again!!), using the TiColorHelper class instead will fix the issue. PR (master): https://github.com/appcelerator/titanium_mobile/pull/9101 PR (6_1_X): https://github.com/appcelerator/titanium_mobile/pull/9102
  3. Abir Mukherjee 2017-06-02

    Passed FR with this environment: Node Version: 6.10.3 NPM Version: 3.10.10 Mac OS: 10.12.4 Appc CLI: 6.2.2 Appc CLI NPM: 4.2.9 Titanium SDK version: 6.1.1 Appcelerator Studio, build: 4.9.0.201705302345-39 Xcode 8.3.2 I was able to reproduce the errors on SDK 6.1.0.GA. I then tried the demo code on PR/9102, and found that the errors were no longer there. I was able to see a row separator after I launched the app. Closing ticket as changes are seen in: 6.1.1.v20170605140846 6.2.0.v20170605134755

JSON Source