Hi,
I was not able to reproduce your issue.
Which client version/build are you using?
Can you show me how you instantiate and configure your NonVisualTable instance and your callback?
Hi,
I was not able to reproduce your issue.
Which client version/build are you using?
Can you show me how you instantiate and configure your NonVisualTable instance and your callback?
Hi Mone,
I am using the latest version of Lightstreamer. I downloaded it just a week back.
Also, I have attached a log on my first post which contains LightstreamerLogger.subscriptions as DEBUG and the Flex log of the above.Code:Lightstreamer Flash/Flex (Native AS) Client Library version 1.1 build 33 Compatible with Lightstreamer Server since version 3.5
The code is this:
Here fields is an array of Strings with required fields.
And itemname is the subscription item.
Code:public function subscribe(itemName:String,fields:Array):void{ var nonVisualTable:NonVisualTable = new NonVisualTable(new Array(itemName),fields,"MERGE"); nonVisualTable.setDataAdapter("MBTLSADAPTER"); nonVisualTable.setSnapshotRequired(false); nonVisualTable.addEventListener(NonVisualItemUpdateEvent.NON_VISUAL_ITEM_UPDATE,onChange); lsclient.subscribeTable(nonVisualTable); if(!dictionary.hasOwnProperty(itemName)){ dictionary[itemName] = new ArrayCollection(); } ArrayCollection(dictionary[itemName]).addItem(nonVisualTable); }
Hello,
I've finally found the key to reproduce your issue.
The problem arises whenever you subscribe to a certain list of fields but the server publishes updates only for a limited number of such fields.
In your case (accordingly to your log) you subscribe to 24 fields, while the adapter publishes updates for only 6 fields.
This is obviously a bug of the flex client library.
We already have a fixed version of the library in our repositories.
So You've now two possibilities to solve your problem:
avoid the subscription of not-updated fields (if possible) OR write an email to support@lightstreamer.com asking for the fixed version.
Thanks for your patience,
Bye!
Thanks a lot for all the support
Bookmarks