Skip to Content
author's profile photo Former Member
Former Member

Kapsel OData Offline Retry

Hi Everyone,

I have some questions about the kapsel offline plugin and how to handle retry / errors.

From the documentation i understand that once a request fails, it would be moved to the error archive and not retried. I would expect that this would also mean the change to the object would be dropped from the offline store. My plan was to then implement a retry functionality my self.

Yet when i test i see a different behavior. I have a service for pm work orders and to provoke an error i simply block an order. On the device when i try to update the order i get the expected "Order is locked by.." error. Thats fine. Now from reading the documentation i would NOT expect the offline store to retry this request the next time i flush. But his is what happens? I keep getting the error every time i flush, unless i move out of the order in the backen in witch case the update is successfull.

Can anyone comment on this behavior? Are you seeing this as well and is it documentet anywhere?

Additionally this raises som problems for me. If i get an error that cannot be resolved i have no way to discard it except for clearing the store and sync'ing a new one - not a very nice solution. Does anyone know if there is a way to remove request with error from the offline store?

Any input / comments on how you have handled this would be greatly appriciated.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Sep 12, 2016 at 09:21 AM

    I would suggest you to open an OSS ticket on this topic.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.