Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6714] Android: Fastdev - resources fail to update on app re-deployment

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2011-12-27T13:45:41.000+0000
Affected Version/sRelease 1.8.0.1
Fix Version/sSprint 2011-50, Release 1.8.0.1, Release 2.0.0
ComponentsAndroid
Labelsqe-and121411, regression, verified-1.8.0.1
ReporterDustin Hyde
AssigneeBill Dawson
Created2011-12-15T17:58:09.000+0000
Updated2014-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.

Comments

  1. Bill Dawson 2011-12-15

    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...
  2. Dustin Hyde 2011-12-16

    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.
  3. Dustin Hyde 2011-12-19

    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
  4. Wilson Luu 2012-01-11

    Closing bug. Already verified fix for 1.8.0.1

JSON Source