← Back to team overview

touch-packages team mailing list archive

[Bug 1394380] Re: QML cache not regenerated correctly on image update

 

below upstart job for lxc-android-config (untested yet) that should be
shipped as /etc/init/boot-hooks/wipe-qml-cache.conf:

# This allows wiping of the complete QML app cache on OTA upgrades
start on boot-hooks WHEN=new-version

pre-start script
    rm -rf /home/*/.cache/QML/Apps/*
end script


** Also affects: lxc-android-config (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: lxc-android-config (Ubuntu RTM)
   Importance: Undecided
       Status: New

** Changed in: lxc-android-config (Ubuntu)
   Importance: Undecided => Critical

** Changed in: lxc-android-config (Ubuntu RTM)
   Importance: Undecided => Critical

** Changed in: lxc-android-config (Ubuntu)
     Assignee: (unassigned) => Oliver Grawert (ogra)

** Changed in: lxc-android-config (Ubuntu RTM)
     Assignee: (unassigned) => Oliver Grawert (ogra)

** Changed in: lxc-android-config (Ubuntu)
       Status: New => Confirmed

** Changed in: lxc-android-config (Ubuntu RTM)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc-android-config in
Ubuntu.
https://bugs.launchpad.net/bugs/1394380

Title:
  QML cache not regenerated correctly on image update

Status in “android” package in Ubuntu:
  Invalid
Status in “lxc-android-config” package in Ubuntu:
  Confirmed
Status in “lxc-android-config” package in Ubuntu RTM:
  Confirmed

Bug description:
  image rtm-proposed 166

  Multiple problems here, due to the fact that oxide was updated (a new
  release) and webrowser-app was updated

  1) webbrowser-app cache was not updated on the image upgrade in .cache/QML/Apps/webbrowser-app and 
  desktop versions of web pages are displayed until the cache is destroyed or regenerated. Try cnn.com or nytimes.com

  2) no webbapps cache is regenerated, so launching of the webapps
  displays wrong pages (.cache/QML/Apps/*webapps*) due to stale cache.
  You can try Google Maps for an example. Deleting the cache makes them
  work again properly.

  Expected Results:
  - after image upgrade, either all of the apps should be regenerated smartly, or we should blow away all of the caches to prevent an issue when a library (like oxide) is upgraded and causes an invalid cache.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/android/+bug/1394380/+subscriptions