[TIMOB-6714] Android: Fastdev - resources fail to update on app re-deployment
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-12-27T13:45:41.000+0000 |
Affected Version/s | Release 1.8.0.1 |
Fix Version/s | Sprint 2011-50, Release 1.8.0.1, Release 2.0.0 |
Components | Android |
Labels | qe-and121411, regression, verified-1.8.0.1 |
Reporter | Dustin Hyde |
Assignee | Bill Dawson |
Created | 2011-12-15T17:58:09.000+0000 |
Updated | 2014-06-19T12:42:39.000+0000 |
Description
Resources fail to update on app re-deployment. For instance, an existing image that is edited will not be updated by Fastdev after re-deploying the app.
This affects V8/Rhino. Regression.
Steps to Reproduce:
1. Create Default Project, Run Code in Android Emulator 2.3.3 using V8:
Titanium.UI.createWindow({backgroundImage:'KS_nav_ui.png'}).open();
2. Navigate to 'KS_nav_ui.png' in the OS file system.
3. Open 'KS_nav_ui.png' in an image editor, and change it in a noticeable way (save over original).
4. Re-deploy the app in Studio without cleaning.
Expected Result:
The app should have the newest version of the image.
Actual Result:
The app still has the old version of the image. If the image did not exist before, nothing will be shown in it's place because the old version of the image in the resources was null.
This is specific to background images, not generally. For example, if you created an imageview with that image, it would reload each time. The problem is that background image fetching is not making use of FastDev. Still investigating...
It looks like the icon property of tabs is still affected, and we might need to check the "image property" of every type of object we support.
Verified as Fixed in 1.8.0.1. SDK: 1.8.0.1v20111216004146 Studio: 1.0.7.201112141707 OS: OS X Lion, Windows 7 Devices Tested: Android Emulator 2.3.3
Closing bug. Already verified fix for 1.8.0.1