I been trying to recreate an order that was send to the backend with an error in the mobile device. My basic idea is that from the error log on the device the user will be able to click on the event log and review the order details. I enter an order with both equipment and material to force a backend error. On the device I have enhanced the error list with the following code:
ErrorConflictInbox errorConflictInbox= SmartSyncRuntime.getInstance().getInboxNotifier().getErrorConflictInbox();
resp.getResponseType().toString();//Get the SyncBo response type (conflict or ERROR)
resp.getText();// This will return the exact message from the server
The problem is that the code never executes the code inside the while loop. Please advise me on how to proceed to recreate the order on the mobile device.