[TIMOB-18786] Android: ImageView sometimes loads wrong image due to hash code collision
GitHub Issue
n/a
Type
Bug
Priority
Medium
Status
Closed
Resolution
Fixed
Resolution Date
2021-09-23T18:42:23.000+0000
Affected Version/s
n/a
Fix Version/s
Release 10.1.0
Components
Android
Labels
ImageView, android, image
Reporter
Yury Skaletskiy
Assignee
Joshua Quick
Created
2014-11-07T12:02:38.000+0000
Updated
2021-09-23T18:42:23.000+0000
Description
*Summary:*
For android, Titanium takes wrong picture if it has name "G1.png" and "FP.png" (waa, I know this sounds strange, but when I change image names to G_1.png and F_P.png corresp., it works OK)
Alloy view:
please also take a look to attachments (how it looks in android/iphone plus Titanium Alloy project to repro)
*Cause:*
This is due to hash code collision when fetching the image from Titanium's image cache. It ends up grabbing the wrong image.
Guys, any update on the issue? we're continue getting that.
Still no updates?
Gentlemen, we are still getting these problems on the latest SDK. Could you please clarify us on issue status rather than ping-pong it? :-)
We will investigate, but we do not currently have an ETA available.
PR (master): https://github.com/appcelerator/titanium_mobile/pull/13078