Opened 10 years ago

Closed 10 years ago

#60 closed enhancement (fixed)

make sure it works well offline

Reported by: dcohen Owned by: dstillman
Priority: major Milestone: 1.0 Beta 1
Component: data layer Version: 1.0
Keywords: Cc:

Description

don’t throw error messages

Change History (1)

comment:1 Changed 10 years ago by dstillman

  • Resolution set to fixed
  • Status changed from new to closed

(In [287]) Fixes #60, make sure it works well offline

  • Added detection for network failure -- debug message is output and noNetwork property is added to the xmlhttp object
  • Removed onStatus callback from HTTP.doGet and HTTP.doPost -- that was copied over from the Piggy Bank API, but the onDone callback has to handle errors anyway, so it can just check the status code if it actually cares to differentiate non-200 status codes from any other error
  • Added error handling for empty responseXML to Schema._updateScrapersRemoteCallback
Note: See TracTickets for help on using tickets.