Our state of the art Gantt chart
Here's how to reproduce. Just load the Basic demo while watching for the load query in the network monitor. Here's what it does:
Code: Select all
Request URL: https://www.bryntum.com/examples/gantt/_datasets/launch-saas.json?undefined=%7B%22type%22%3A%22load%22%2C%22requestId%22%3A15894808349900%2C%22stores%22%3A%5B%22timeRanges%22%2C%22calendars%22%2C%22tasks%22%2C%22dependencies%22%2C%22resources%22%2C%22assignments%22%5D%7D
I'm pretty sure the "undefined" parameter shouldn't be there
Thanks for the report! I've opened a ticket: https://github.com/bryntum/support/issues/772
I see Mats has fixed this in 2.1.4. There is still a parameter, only it's now named "data":
Code: Select all
Request URL: http://127.0.0.1:8887/data.json?data=%7B%22type%22%3A%22load%22%2C%22requestId%22%3A15899021387320%2C%22stores%22%3A%5B%22timeRanges%22%2C%22calendars%22%2C%22tasks%22%2C%22dependencies%22%2C%22resources%22%2C%22assignments%22%5D%7D
But using of body for GET HTTP requests is not recommended so we decided to change that behaviour.
So starting from this release if you use GET method then the request data is passed in a URL parameter.
Do you want to use GET request body to pass load requests?
Thanks for the detailed explanation!
One last thing though. If I have to properly implement the load request, I'd better do it right. In the doc, about the "stores", it is said "they can be represented with an object to pass additional parameters." Is there a complete list of the possible parameters that Bryntum Gantt might use (like "append" or "page"?)
Thanks for your feedback! We will review and update our docs: https://github.com/bryntum/support/issues/824