bryntum / support

An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
https://www.bryntum.com
53 stars 6 forks source link

Should not trigger a sync when ajaxStore is configured with a URL and `syncDataOnLoad: true` #9030

Closed ghulamghousdev closed 1 month ago

ghulamghousdev commented 5 months ago

Forum post

Steps to repro:

  1. Run the test case by running ./run.sh
  2. Choose default editor
  3. Add an event
  4. click on set date
  5. click on load button
  6. See in network tab that an api request is being triggered to sync the changes with backend

Note(Joakim): syncDataOnLoad is built for framework non-ajax stores. I agree that changes made from the "syncing" process shouldn't create any record changes meta data, nor any server sync requests. But, I guess there is another way of looking at it, and that is that you modify your "bound-by-framework" data outside of our environment, but still somehow use our records/stores to keep track of what's changed. Maybe it would be able to activate syncDataOnLoad, but without creating any record changes meta and not triggering any sync request.

syncDataOnLoad.zip

JockeLindberg commented 4 months ago

As a couple of releases back, there shouldn't be any sync requests after a new dataset has been synced. Closing this ticket. If issue remains in 5.6.12, please comment and we will re-open it.

bmblb commented 3 months ago

Bug has returned, here is an updated test case extra-put.zip