Perpetual installation loop when uninstalling app

Bug #1468038 reported by Alejandro J. Cura
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity8 (Ubuntu)
Fix Released
High
dobey

Bug Description

After clicking on the "Cancel Purchase" or "Uninstall" button, the app starts downloading and installing again. Clicking on that button should uninstall instead.

Related branches

dobey (dobey)
Changed in unity-scope-click (Ubuntu):
assignee: nobody → Rodney Dawes (dobey)
importance: Undecided → High
status: New → In Progress
Revision history for this message
dobey (dobey) wrote :

This seems to be an unintended side effect of the fix which landed in revision 320 for bug #1289434 . The issue is replicable with free apps as well as when cancelling a purchase for a paid app.

summary: - Installation is started after clicking on "Cancel Purchase"
+ Perpetual installation loop when uninstalling app
description: updated
Revision history for this message
dobey (dobey) wrote :

Upon deeper debugging, it seems there is a race somewhere, which results in occasionally, a "purchased" status being sent via the dbus signal, immediately prior to the "not purchased" status, after a refund, which results in the "purchaseCompleted" action from the payment button being called.

I see an immediate fix which can be made to unity8, so I'm moving this bug there. There may be a race in libpay/pay-service as well here, but it will require further debugging to isolate. I also seem to be unable to replicate this with free apps any more, so I suspect the changes from the completed refunds feature resolved that side of the issue.

affects: unity-scope-click (Ubuntu) → unity8 (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity8 - 8.11+15.10.20150826-0ubuntu1

---------------
unity8 (8.11+15.10.20150826-0ubuntu1) wily; urgency=medium

  [ Michael Zanetti ]
  * release for wily

  [ CI Train Bot ]
  * New rebuild forced.

unity8 (8.11+15.04.20150821-0ubuntu1) vivid; urgency=medium

  [ Michael Terry ]
  * Skip the tutorial entirely when in desktop mode. This fixes the
    emulator not being able to pass the tutorial.
  * Skip the tutorial entirely when in desktop mode. This fixes the
    emulator not being able to pass the tutorial.

unity8 (8.11+15.04.20150817-0ubuntu1) vivid; urgency=medium

  [ Albert Astals Cid ]
  * Drop gcc 4.9 requirement in debian/rules
  * Make the test more stable
  * Optimize scope.preview() calls (LP: #1478022)

  [ Alberto Mardegan ]
  * Set currentIndex after the model change is completed (LP: #1433442)

unity8 (8.11+15.04.20150814-0ubuntu1) vivid; urgency=medium

  [ Albert Astals Cid ]
  * Make the test pass again after rework of appmanager
  * fix testPhoneStage

  [ CI Train Bot ]
  * New rebuild forced.

  [ Daniel d'Andrada ]
  * Fix and clean up InputInfo plugin

  [ Rodney Dawes ]
  * Do not call verify in the payments button code. (LP: #1468038)

unity8 (8.11+15.04.20150812-0ubuntu1) vivid; urgency=medium

  [ Albert Astals Cid ]
  * Add a test that checks that items in an expandable are the correct
    size after expanding the expandable
  * Fix the expandable test
  * Replace some waitForRendering with wait(0)
  * Workaround for bug 1473471 (LP: #1473471)

  [ Gary.Wzl ]
  * Fix layout issue when adding audio track widget in expandable widget

  [ handsome_feng ]
  * Added indication for running apps. (LP: #1471577)
  * Adjust the color to highlighting indicator. (LP: #1457098)
  * Convert the MouseArea to MultiPointTouchArea to track multiple touch
    points. (LP: #1445472)

  [ handsome_feng<email address hidden> ]
  * Convert the MouseArea to MultiPointTouchArea to track multiple touch
    points. (LP: #1445472)

 -- CI Train Bot <email address hidden> Wed, 26 Aug 2015 09:01:03 +0000

Changed in unity8 (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.