Ticket #7713 (new defect)
Inconsitent behavior for activity installation
|Reported by:||erikos||Owned by:||tomeu|
|Component:||sugar||Version:||Development source as of this date|
|Keywords:||8.2.0:- relnote||Cc:||Eben, tomeu, gregorio, erikos, homunq, cscott, mstone|
|Deployments affected:||Blocked By:|
Steps to reproduce:
Download an activity that is already installed (e.g. Log9 is installed and you download Log10).
a) When the download has finished go to the activity list and check if the bundle is upgraded (it will still be the old version)
b) go to the journal and resume the bundle entry that has been created in the journal, when you check now in the activity list the bundle will be upgraded
a) we only install a bundle that is not installed already: http://dev.laptop.org/git?p=journal-activity;a=blob;f=journalactivity.py;h=f531e0fe860a46a4483d41bbb26a586794f888ad;hb=HEAD#l264
b) we upgrade a bundle when it is already installed: http://dev.laptop.org/git?p=sugar-toolkit;a=blob;f=src/sugar/datastore/datastore.py;h=b88a8775a962eb4b06fb740bc7616c2c711f9f24;hb=HEAD#l155
Since this seems inconsistent I would like to ask for clarification what path we should go.