[TIMOB-24741] Android: Using "transparent" as a color crashes the app (Regression)
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-06-02T23:24:09.000+0000 |
Affected Version/s | Release 6.1.0 |
Fix Version/s | Release 6.1.1 |
Components | Android |
Labels | android, backgroundColor, regression, tableviewrow |
Reporter | Hans Knöchel |
Assignee | Hans Knöchel |
Created | 2017-05-29T11:10:51.000+0000 |
Updated | 2017-06-05T22:20:49.000+0000 |
[~hansknoechel] Could we get a test case for this? I'm unable to reproduce the issue setting a windows backgroundColor.
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/9102Passed 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