Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    InvalidateCache doesn't work after closing and opening browser

    Hi,

    I have a problem with updating listgrid data. When I update a record using a dynamicform the data is correctly saved to the database through DMI.
    The listgrid gets updated with the new values.

    At this point everithing seems ok. But if you close your internet browser, open it again and ocate the list grid then you can see the old values before the update.

    I had to put
    Code:
    dsResponse.setInvalidateCache(true);
    into my DMI class to add,update a remove methods. The problem has gone away.

    According to the specification the datasource should handle this without the neccessity to invalidate the whole cache.

    Do you need me to prepare you a test case?
    I use the latest night build 2011-06-15, GWT 2.2.0, Firefox 4.0.1, IE9. There are no exceptions in a log and all RPC's returned SUCCESS.
    best regards,
    Zdary
    Last edited by zdary; 16 Jun 2011, 04:24.

    #2
    When you reload the page, you're seeing whatever data is being loaded from the server. Behavior is unrelated to events in previous browser instances.

    Comment

    Working...
    X