Ticket #8011 (new defect)

Opened 6 years ago

Last modified 6 years ago

software update does not remedy lost Activities/Analyze.activity

Reported by: Quozl Owned by: marco
Priority: low Milestone: 8.2.0 (was Update.2)
Component: sugar Version: Development build as of this date
Keywords: Cc:
Action Needed: diagnose Verified: no
Deployments affected: Blocked By:


If an activity directory is deleted, the Software update detects this and suggests a remedy by listing the activity with a tick and "New version", with the "You can install 1 update" title, but the "Install selected" option does not resolve the condition. What happens on screen is a "Downloading Analyze" and a series of other progress messages, and then the "You can install 1 update" persists.

Version: Joyride 2301 with all Joyride Activities installed as at this date.

Method to reproduce:

rm -rf Activities/Analyze.activity

then attempt Software update.

(Irrelevant: was trying to reproduce #7865 and used this method to remove an activity).

Change History

Changed 6 years ago by cscott

  • owner changed from cscott to marco
  • component changed from upgrade utility to sugar

This is a sugar bug, and one I suspect they'll tag 'wontfix'. If you remove an activity directory, you need to restart sugar before it recognizes the activity as gone. Since sugar thinks the activity is still present, it refuses to install a bundle with the same version as the 'still present' activity.

Changed 6 years ago by tomeu

Why not listen with inotify the activity directories?

Changed 6 years ago by dsd

The use case is a bit questionable anyway given that sugar provides a mechanism for deleting activities?

Note: See TracTickets for help on using tickets.