← Back to team overview

desktop-packages team mailing list archive

[Bug 833898] [NEW] "Cancel" at purchase sign-on leaves you at "OpenID failed" screen

 

Public bug reported:

software-center-gtk3 trunk r2209, Ubuntu Ocelot

(Until one of the real for-purchase items is published for Ocelot, you
will need to be a member of the commercial QA team to reproduce this
bug.)

1. Go to the screen for one of the for-purchase items, and choose "Buy".
2. At the sign-on screen, click "Cancel".

What happens:
* You end up at an HTML screen saying "OpenID failed" "Authentication cancelled".
* A traceback:
------------
Traceback (most recent call last):
  File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/panes/availablepane.py", line 219, in on_purchase_cancelled_by_user
    self._click_appdetails_view()
AttributeError: 'AvailablePane' object has no attribute '_click_appdetails_view'
Traceback (most recent call last):
  File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/views/purchaseview.py", line 192, in _on_title_changed
    self._process_json(title)
  File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/views/purchaseview.py", line 223, in _process_json
    self._block_wk_handlers()
  File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/views/purchaseview.py", line 254, in _block_wk_handlers
    self.wk.webkit.handler_block_by_func(self._on_new_window)
TypeError: nothing connected to <bound method PurchaseView._on_new_window of <PurchaseView object at 0x2545370 (softwarecenter+ui+gtk3+views+purchaseview+PurchaseView at 0x24ead50)>>
------------

What should happen: You are returned to the software item screen.

** Affects: software-center (Ubuntu)
     Importance: Medium
         Status: New

** Changed in: software-center (Ubuntu)
   Importance: Undecided => Medium

** Description changed:

  software-center-gtk3 trunk r2209, Ubuntu Ocelot
  
  (Until one of the real for-purchase items is published for Ocelot, you
  will need to be a member of the commercial QA team to reproduce this
  bug.)
  
  1. Go to the screen for one of the for-purchase items, and choose "Buy".
  2. At the sign-on screen, click "Cancel".
  
- What happens: You end up at an HTML screen saying "OpenID failed"
- "Authentication cancelled".
+ What happens:
+ * You end up at an HTML screen saying "OpenID failed" "Authentication cancelled".
+ * A traceback:
+ ------------
+ Traceback (most recent call last):
+   File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/panes/availablepane.py", line 219, in on_purchase_cancelled_by_user
+     self._click_appdetails_view()
+ AttributeError: 'AvailablePane' object has no attribute '_click_appdetails_view'
+ Traceback (most recent call last):
+   File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/views/purchaseview.py", line 192, in _on_title_changed
+     self._process_json(title)
+   File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/views/purchaseview.py", line 223, in _process_json
+     self._block_wk_handlers()
+   File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/views/purchaseview.py", line 254, in _block_wk_handlers
+     self.wk.webkit.handler_block_by_func(self._on_new_window)
+ TypeError: nothing connected to <bound method PurchaseView._on_new_window of <PurchaseView object at 0x2545370 (softwarecenter+ui+gtk3+views+purchaseview+PurchaseView at 0x24ead50)>>
+ ------------
  
  What should happen: You are returned to the software item screen.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/833898

Title:
  "Cancel" at purchase sign-on leaves you at "OpenID failed" screen

Status in “software-center” package in Ubuntu:
  New

Bug description:
  software-center-gtk3 trunk r2209, Ubuntu Ocelot

  (Until one of the real for-purchase items is published for Ocelot, you
  will need to be a member of the commercial QA team to reproduce this
  bug.)

  1. Go to the screen for one of the for-purchase items, and choose "Buy".
  2. At the sign-on screen, click "Cancel".

  What happens:
  * You end up at an HTML screen saying "OpenID failed" "Authentication cancelled".
  * A traceback:
  ------------
  Traceback (most recent call last):
    File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/panes/availablepane.py", line 219, in on_purchase_cancelled_by_user
      self._click_appdetails_view()
  AttributeError: 'AvailablePane' object has no attribute '_click_appdetails_view'
  Traceback (most recent call last):
    File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/views/purchaseview.py", line 192, in _on_title_changed
      self._process_json(title)
    File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/views/purchaseview.py", line 223, in _process_json
      self._block_wk_handlers()
    File "/home/mpt/hacking/software-center/softwarecenter/ui/gtk3/views/purchaseview.py", line 254, in _block_wk_handlers
      self.wk.webkit.handler_block_by_func(self._on_new_window)
  TypeError: nothing connected to <bound method PurchaseView._on_new_window of <PurchaseView object at 0x2545370 (softwarecenter+ui+gtk3+views+purchaseview+PurchaseView at 0x24ead50)>>
  ------------

  What should happen: You are returned to the software item screen.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/833898/+subscriptions


Follow ups

References