Include a user_canceled property

Bug #618535 reported by Michael Nelson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Software Center Agent
Confirmed
Low
Unassigned

Bug Description

As documented here:

https://wiki.canonical.com/Ubuntu/SoftwareCenter/10.10/Roadmap/SoftwareCenterAgent?action=diff&rev1=39&rev2=40

mvo needs a way to determine that (1) Yes, the subscription was unsuccessful (success=False, failure_reasons populated), but (2) it was simply because the user cancelled the payment.

I haven't looked yet, but a another solution might be to replace the 'success' variable that we use in the title change event with a 'status' one, which can be 'success', 'error', 'canceled' etc.

Revision history for this message
Michael Vogt (mvo) wrote :

Just FYI, the client looks for user_canceled and if that is true it will now show a error.

Changed in software-center-agent:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Michael Nelson (michael.nelson) wrote :

This was fixed with bug 696861 (which added a user_cancelled property, and sc seems to check for either 1 or 2 'l's :) ).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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