Opened 6 years ago

Last modified 6 years ago

#8011 new defect

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:
Blocked By: Blocking:
Deployments affected: Action Needed: diagnose
Verified: no

Description

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 (3)

comment:1 Changed 6 years ago by cscott

  • Component changed from upgrade utility to sugar
  • Owner changed from cscott to marco

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.

comment:2 Changed 6 years ago by tomeu

Why not listen with inotify the activity directories?

comment:3 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.