Learn more from guides & API docs
Catch up with the latest on the blog
Try our many live demos
View webinars
Find answers or ask questions
Docs & demos for Angular
Docs & demos for React
Docs & demos for Vue
Our state of the art Gantt chart
Post by jhughesoneplan » Wed Jan 04, 2023 9:31 pm
Hello,
Wanted to check the status of this. This is preventing an upgrade from 5.0.4 which has many bugs I am trying to resolve. If you can provide direct access to someone on the support/dev team I can probably provide credentials for you to see it.
Post by marcio » Wed Jan 04, 2023 10:38 pm
Hello jhughesoneplan,
We put a higher priority on this, but for now, unfortunately, no updates.
Best regards, Márcio
Post by arcady » Wed Jan 11, 2023 7:43 am
Your test case at https://oneplanqa.azurewebsites.net/home/repro504 no longer works. Could you please update it so I could investigate the issue? ..Since I can't reproduce it on our examples.
Post by arcady » Wed Feb 08, 2023 2:57 pm
And now the test case works but shows Uncaught Error: You are unauthorized to access this resource when I add a task.
Uncaught Error: You are unauthorized to access this resource
Post by arcady » Wed Feb 08, 2023 3:24 pm
Looking at the response piece you provided I've noticed that you respond capitalized Id
Id
"Id": "0d546284-494c-462e-aca5-7bdd47299d90",
The field name is id (in lower case). Otherwise you should configure your model to rename the id field: https://bryntum.com/products/gantt/docs/api/Core/data/Model#the-id-field
id
Post by jhughesoneplan » Wed Feb 08, 2023 5:48 pm
Thank you this has resolved the issue. Please note in 5.0.4 this method
{ name : 'id', dataSource: 'personId'}
, failed and caused issues in the taskstore. Therefore we did not implemented previous.
In 5.2.9 this method does not work properly:
static idField = 'personId';
as this is how it we implemented and was working in 5.0.4 but causing this issue in 5.2.9. I suggest a fix, or update documentation. Thank You.
Post by arcady » Thu Feb 09, 2023 8:03 am
We already have a ticket for fixing id field mapping https://github.com/bryntum/support/issues/412 So further work will be done there. Thank you for the feedback!