Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 923

Kapsel Offline Store - Error on Flush

$
0
0

Hi,

 

I created a kapsel app with an offline store, that interacts with an OData service properly configured in HCPms.

 

When I create a new element and then flush the Offline Store I get the following error:

Screenshot_2016-06-03-13-06-40[1].png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

This is a screenshot of the service's metadata:

Captura.PNG

 

I am actually setting all the fields on the app:

Captura2.PNG

I've tried many different combinations of the data above, for example not setting the key property (which should be filled on the server).

 

The behaviour is strange, because the element is actually been created on the server but returns error to the app. Actually it's created twice on the server each time I flush the offline store, don't know why. But the element is not removed from the Offline Store when created and it considers the flush as failed (calls failure callback).

 

This is the app configuration on HCPms:

 

Captura3.PNG

Captura4.PNGCaptura5.PNGCaptura6.PNG

I attach the log file of HCPms. I believe it has mixed records from a common sync (a get) and the store flush

 

Regards,

 

Andres Nebel


Viewing all articles
Browse latest Browse all 923

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>