-
April 8th, 2014, 01:22 PM
#1
Originally Posted by
gianluca.bertani
Hello,
this error may happen when the adapter sends updates for more items than what the client is expecting from the declared LSExtendedTableInfo. In this particular case, your LSExtendedTableInfo contained just 1 item (i.e. it was initialized with an array of 1 element as first argument) but the client received an update for item n. 2 (which is reported as index 1, as internally they are 0-based).
LSExtendedTableInfo adds the capability to refer to fields by name, and have the item name filled at each table update, but requires a metadata adapter derived by or equivalent to a LiteralBasedProvider (as stated in the docs). You may use an LSTableInfo to avoid the error above, but in that case you cannot refer to fields by name, and the item name argument of table updates will always be nil (i.e. you have to refer to fields and items by position only).
Hope this helps.
Best regards,
Gianluca
Hi Gianluca,
Thanks for the quick response.
I have tried to use LSTableInfo to no avail.
Regarding what you wrote: "the client received an update for item n. 2". Is it possible to check how many items for update do I have in this moment?
Many thanks again
Similar Threads
-
By Anatoly Gurfinkel in forum Client SDKs
Replies: 9
Last Post: July 6th, 2015, 04:24 PM
-
By benthemos in forum Client SDKs
Replies: 4
Last Post: February 27th, 2015, 06:58 AM
-
By kpturner in forum Client SDKs
Replies: 20
Last Post: January 15th, 2015, 11:52 AM
-
By bor306 in forum Client SDKs
Replies: 7
Last Post: July 11th, 2012, 02:28 PM
-
By Alessandro in forum Client SDKs
Replies: 0
Last Post: March 28th, 2011, 03:06 PM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 11:44 AM.
Bookmarks