cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

User doesn't get an error message when a Network error occurs when using OData V4

gregorw
SAP Mentor
SAP Mentor
729

Hello SAP Fiori Elements Team,

right now I'm checking the behaviour of the Fiori UI when the backend is crashing. Regarding the backend I've posted: Is the CAP Error Handling approach of "Let It Crash" the right one?. For this topic I've added a sample test case to my bookshop-demo project.

When you run this applicaiton and open:

http://localhost:4004/webapp/fiori-ui5-1.102.html?sap-language=en#V4Orders-manageUI5latest

Select the "Completed" filter and then execute the "Check Consistency V4" for the Order with Customer "Crash..." you will notice that there is no error indicator shown to the user:

The Network console shows errors and the backend crashed.

Using OData V2 we get this nice error message back (http://localhost:4004/webapp/fiori-ui5-1.102.html?sap-language=en#Orders-manageUI5latest):

Currently I can't test with the latest SAPUI5 due to this issue with 1.107: CORS issues in Fiori Sandbox since 1.107.0. But I've switched now to 1.107.1 which is not yet the default at ui5.sap.com and now I get:

So question solved during posting.

Best Regards
Gregor

Accepted Solutions (1)

Accepted Solutions (1)

gregorw
SAP Mentor
SAP Mentor

Already solved with SAPUI5 1.107.1.

abo
Active Contributor

I love the questions which come together with an answer 🙂

Answers (0)