Page 2 of 2

Re: 5.2.1 Sync Issue

Posted: Wed Jan 04, 2023 9:31 pm
by jhughesoneplan

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.


Re: 5.2.1 Sync Issue

Posted: Wed Jan 04, 2023 10:38 pm
by marcio

Hello jhughesoneplan,

We put a higher priority on this, but for now, unfortunately, no updates.


Re: 5.2.1 Sync Issue

Posted: Wed Jan 11, 2023 7:43 am
by arcady

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.


Re: 5.2.1 Sync Issue

Posted: Wed Feb 08, 2023 2:57 pm
by arcady

And now the test case works but shows Uncaught Error: You are unauthorized to access this resource when I add a task.


Re: 5.2.1 Sync Issue

Posted: Wed Feb 08, 2023 3:24 pm
by arcady

Looking at the response piece you provided I've noticed that you respond capitalized 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


Re: 5.2.1 Sync Issue

Posted: Wed Feb 08, 2023 5:48 pm
by jhughesoneplan

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.


Re: 5.2.1 Sync Issue

Posted: Thu Feb 09, 2023 8:03 am
by arcady

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!