Is This Correct Offline Exception Handling?

Stable Version 1.0.0 (OutSystems 10)
Published on 11 March 2018 by 
Created on 11 March 2018
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.

Reviews (0)
Category
Samples & How-tos
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Adrian who created this component.
Dependencies
See all 1 dependencies
Requirements
Platform
10.0.0.402
Database
All
Stack
All
Team
Component Consumers
No consumers yet.
Weekly Downloads 
Related Components
More from Adrian