Our state of the art Gantt chart


Post by AdminWoosh »

My transport is set like so on a project model, which works perfectly fine in 2.1.2 or 2.1.3 but with the latest release has an "Incorrect URL" error:

transport : {

load : {
    url: '/webservice/projects/1/schedule',
    paramName: 'q'
},
sync : {
    url : '/webservice/projects/1/schedule',
    method: 'PATCH',
    requestConfig: {
        headers: {
            'X-Requested-With': 'XMLHttpRequest'
        }
    }
}

}

I'm just receiving the following error in the console:

gantt.umd.js:28114 Uncaught (in promise) Error: Incorrect URL: /webservice/projects/3868/schedule?data=%7B%22type%22%3A%22load%22%2C%22requestId%22%3Anull%2C%22stores%22%3A%5B%22timeRanges%22%2C%22calendars%22%2C%22tasks%22%2C%22dependencies%22%2C%22resources%22%2C%22assignments%22%5D%7D

Any idea what could have caused this in the latest update / how to trace it? I can't figure out from debugging where this is occurring and clearly the transport is setup correctly as it works on older versions.

It also doesn't work with any of the nightly builds / releases.


Post by mats »

Seems to work fine for me, how can we reproduce this?


Post Reply