Skip to Content
0
Former Member
Nov 19, 2013 at 11:51 AM

Error in Operation Update in SUP (Unable to Update cache)

18 Views

Hi All,

I'm working on a ios application which connects to Web message broker Webservices over SUP.

I Have two operations ie create and update for an MBO. Create is working fine without any issues, But the Update seem to working perfectly on the backend EIS but on the device the object state after the synchronization is still pending. I tried to get the LogRecords on that object which is updated which SUP will send a replayResult or replayFailure. and i get the following entry in the logrecord of that object.

Component = MBO_NAME

EntityKey = 300846

Level = 5

Message = java.lang.RuntimeException:Unable to insert cache row which contains neither a primary key nor a surrogate primary key: {{_PARTITION_ID=4}}

Operation = OPERATION_NAME

RequestId = 1910101

Timestamp = 2013-11-19 04:36:51.43

In the MBO i have a primary key and while updating the object also has a surrogate key and the cache refresh policy is set to zero.

Please help me in sharing your views if you have come across such issues.

Thanks,

Rakshit