Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2008

    Question On addTable() receveiving updates from previous group

    Hi lightstreamer team !

    We are using DynaMetapushTable for receiving updates for around 500 Stocks in COMMAND mode where entries may be added/updated.

    After we subscribe to another group of stocks in the same table before receiving all 500 stocks from previous group, the remainig stocks from group1 gets mixed with group2.

    I've tried to clear all data by setting:

    and also before subscribing to another group I've also removed previous table:

    I've also tried removing visual effects, but there is no change.

    On my page I have a select box witch lets users subscribe to another group of stocks in COMMAND mode, and if the user changes a group of stocks before receiving all stocks from previous group, user receives a mix of stocks from previous group.
    The only solution I see now is to wait for all stocks to get loaded witch takes about 30 secs and then let user subscribe to another group.

    I'm not sure how to fix this problem.

    Any help is very appreciated!

  2. #2
    Join Date
    Jul 2006
    Milan, Italy
    Hi Jakov

    We can't replicate the case. After calling
    the table should disappear and trailing updates should be ignored.

    If we understand well, the problem happens to you when you call those lines while the previous table is still loading. We also tried simulating this case, but we didn't notice any update from the previous table mixed with updates from the second one.

    We need more details on your case.

    Are you using Web Client Library version 4.3?

    If you, for testing, only issue
    without adding the new table, can you see the table complete loading?

    Does the table loading take 30 seconds because of bandwidth restrictions? Or because of CPU overload on the client? Or because of slow data generation by the Data Adapter?

    Can you exclude any issue in the Data Adapter, perhaps mixing updates for different items?

  3. #3
    Join Date
    Jul 2006
    After further tests we could replicate the case
    and recongnize it as a Web Client Library bug.
    Trailing updates pertaining to the previous association for the screen table are not filtered out correctly. This may affect any kind of screen table and subscription mode.
    We'll make a patch available as soon as possible.

  4. #4
    Power Member
    Join Date
    Jul 2006
    Cesano Maderno, Italy
    Hello all,

    a patch for the problem described in this thread is available.

    If you are using the Lightstreamer Web Client v.4.3 build 1346 and think you are in the situation described below, you may want to apply the provided patch:

    On the Master Push-Page, if you call addTable() more times while using the same "id" parameter, there exist cases where the last updates pertaining to the previous subscription life are delivered as part of the new life. An example of this is if you define a screen table through your HTML cells, bind it to a Lightstreamer table, then remove the Lightstreamer table and add a new one in order to chnage the group name. If this is done in rapid sequence, the latest updates pertaining to the old group could be displayed after the new group has been subscribed to.

    If you find yourself in this kind of scenario and you are using Lightstreamer Web Client v.4.3 build 1346 (previous version are not affected by this issue), please contact to get the patch.



Similar Threads

  1. Using tomcat as the web server - no data updates
    By bhathiya in forum Client SDKs
    Replies: 2
    Last Post: April 11th, 2011, 08:38 AM
  2. Previous Data Lost
    By in forum Client SDKs
    Replies: 1
    Last Post: October 6th, 2010, 09:18 AM
  3. Replies: 3
    Last Post: January 21st, 2010, 12:25 PM
  4. IG Group's cool applications
    By Alessandro in forum General
    Replies: 6
    Last Post: July 1st, 2008, 02:26 PM
  5. Adding/Removing item in subscribed group
    By rsouissi in forum Adapter SDKs
    Replies: 4
    Last Post: January 10th, 2007, 06:11 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT +1. The time now is 06:14 AM.