is-this-correct-offline-exception-handling

Is This Correct Offline Exception Handling?

Stable version 1.0.0 (Compatible with OutSystems 11)
Also available for 10
Published on 11 March 2018 by 
0.0
 (0 ratings)
is-this-correct-offline-exception-handling

Is This Correct Offline Exception Handling?

Details
I am listing a series of scenarios with what I think is rather unexpected behavior when a mobile app loses connectivity. Please let me know what you think, is this all normal or reflects a Platform issue?
Read more

Listing a few scenarios where exception handling works different that I expected:

  1. When using an aggregate to get data, if the app is offline, the aggregate will generate a CommunicationException. It seems it is not possible to catch this exception in the screen in order to show an alternate content, instead the Exception propagates to the Flow where the screen is contained.
  2. Using a DataAction with an aggregate inside to get data and an Exception handler next to the aggregate. If the app is offline, the aggregate will generate a CommunicationException and I expect the Exception Handler to catch it so I can show an alternate content. Instead the Exception propagates to the Flow where the screen is contained. Is this normal? 

  3. Using a DataAction with a ServerAction inside to get data and an Exception handler next to the ServerAction. If the app is offline, the ServerAction will generate a CommunicationException and I expect the Exception Handler to catch it so I can show an alternate content. Instead the Exception propagates to the Flow where the screen is contained. Is this normal?

  4. Using a Button calling a ClientAction with a ServerAction inside to get data and an Exception handler next to the ServerAction. If the app is offline, the ServerAction will generate a CommunicationException and the Exception Handler will catch it so I can show an alternate content. The Exception does not propagate to the Flow where the screen is contained.

What’s new (1.0.0)
Reviews (0)
More from Adrian