Jammy virtual machine, installed software-properties-{common,gtk} and
python3-software-properties all from proposed (0.99.22.6).

With Ubuntu Pro disabled and disconnected from Internet, clicked "Enable
Ubuntu Pro".

The dialog controls were disabled and a string 'Unable to connect to
Ubuntu Pro servers. Check your internet connection.' was displayed at
the bottom.

I connected to Internet and the dialog went away. Controls were unlocked
and a PIN was generated, with which I successfully attached the machine
to Ubuntu Pro.


** Tags removed: verification-needed-jammy
** Tags added: verification-done-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to software-properties in
Ubuntu.
https://bugs.launchpad.net/bugs/2004634

Title:
  Disable Ubuntu Pro registration when not online

Status in software-properties package in Ubuntu:
  Fix Committed
Status in software-properties source package in Bionic:
  Fix Committed
Status in software-properties source package in Focal:
  Fix Committed
Status in software-properties source package in Jammy:
  Fix Committed

Bug description:
  * Impact

  The current UI allows the user to try to register to Ubuntu Pro even
  when the system isn't online, which eventually leads to an error since
  the client fails to contact the server. The updated design disable the
  registration UI in those cases and inform the user they need to get
  online to be able to register which is a better experience.

  * Test Case

  - ensure that the machine isn't attached to ubuntu pro (otherwise the screen 
would not be displayed) and is online
  $ pro status
  and `$ pro detach` if needed

  - disconnect the system, using for example the top panel indicator

  - start software-properties-gtk and select the Ubuntu Pro tab

  - click 'Enable Ubuntu Pro'

  - The dialog controls should be disabled and a string 'Unable to
  connect to Ubuntu Pro servers. Check your internet connection.'
  displayed at the bottom

  - reconnect the system

  - the dialog control should become active and the label be removed

  - register to Ubuntu Pro, that should be working

  * Regression potential

  If the connectivity check was wrong or not reliable it could be that
  the dialog controls would be disabled even if the system is online, or
  that it would fail to detect that the system isn't connected and let
  the user try to register anyway.

  The change also adds a new translatable string. Since currently we
  don't include translations for that new UI it isn't really a
  regression. We still plan to fix that by the next languagepack update.

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to