ibm mobilefirst - Worklight Server/DB down, Hybrid app shows a dialog with "Server is temporarily unavailable". No error callback? -


we have case worklight server's (v6.1.0.02-20150509) database down, , server not connect , hybrid app presented below dialog.

we did not provide dialog , content in app, must come worklight client framework.

since phone set french, see there english/french mix in text.

what wondering whether there way catch this?
there seems no callback , seems adapter call did not timeout , did not return error our code.

hybrid client app shows native dialog error


also, why worklight framework showing visual error dialog? framework should provide callbacks , hooks, , not visual ui app developers did not create.

christian,
using ibm worklight studio 6.1.0.02-20150608-1406 followed these 2 scenarios:

  1. use wl.client.connect wlcommoninit() while server running mysql database of server (wrklght) shut down

    in scenario connect failed , reached onfailure callback.

  2. use wl.client.invokeprocedure wlcommoninit() (instead of connect) while server running mysql database server of server (wrklght) shut down. procedure calls sql adapter attempting retrieve data same database server.

    in scenario adapter invocation failed , reached onfailure callback.

so experiencing not happening here using latest build version mentioned @ beginning.

  1. try same build (see email you)
  2. provide clearer reproduction steps

Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -