Announcement

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

    Invalidatecache fetches data without the given criteria.

    Good Morning,
    the question is simple, i have to periodically refresh a grid so i'm calling invalidatecache() and then fetchdata with criteria.
    When the code is executed the framework makes two fetches one with and one without criteria. The code is the following:

    Code:
    ListGrid.setCriteria(AdvancedCriteria)
    ListGrid.invalidatecache()
    ListGrid.fetchData(Advancedcriteria)
    I cannot refresh the grid if i don't use invalidatecache but it's triggering a fetch without criteria. Can anyone help me about this?
    Thanks in advance.
    A

    #2
    Hi acamellini,

    you should definitely state your version and build date. Also retry with the latest nightly of your version, because the behavior you describe sounds like a bug that would not have gone unnoticed.
    Please note that additionally this API (available since 5.1) might be an alternative to your use case.

    Best regards
    Blama

    Comment

    Working...
    X