Ticket #3180 (closed defect: fixed)

Opened 21 months ago

Last modified 11 months ago

GetBooks needs to report when it cannot contact a server

Reported by: greenfeld Owned by: humitos
Priority: Unspecified by Maintainer Milestone: 0.94
Component: GetBooks Version: 0.94.x
Severity: Unspecified Keywords: easy-hack, patch
Cc: humitos Distribution/OS: OLPC
Bug Status: Unconfirmed

Description

  1. Start GetBooks on an XO which is not connected to any network (it can be in ad-hoc or Mesh mode).
  2. Click on one of the "Catalog" choices in the sidebar.
  3. You will be told "Sorry, no books could be found" in the status bar, which is almost meaningless. We should at least say we could not connect to the server although I do not know what kind of "server" we should say it is to keep terms simple ("book server", "catalog server", etc.).

The ideal situation would be for Sugar itself to query a host and figure out if we are online, isolated, behind a redirect firewall, etc., but that is a more complex implementation case.

Seen in 11.3.0 os880/GetBooks-10.

Attachments

Change History

Changed 17 months ago by godiard

  • keywords easy-hack added

Changed 14 months ago by godiard

  • keywords 12.1.0, added

Changed 13 months ago by godiard

  • owner changed from godiard to humitos
  • status changed from new to assigned

Changed 13 months ago by humitos

  • cc humitos added
  • keywords easy-hack, patch added; easy-hack removed

Changed 12 months ago by erikos

  • keywords 12.1.0, removed

Changed 11 months ago by godiard

  • status changed from assigned to closed
  • resolution set to fixed

I am not over enthusiastic with the patch, because is complex, and is more spaghetti in a already spaghetti activity, but solves the error.
In the future, we can improve it.

Note: See TracTickets for help on using tickets.