Hello,
We are implementing Live Updates in a web application with Angular 14 and .NET 8, Gantt version 6.0.4. We have 2 clients open and we make changes to the name of a Task.
The first revision that receives the second client is done correctly:
{
"project":4,
"revisions":[
{
"revisionId": "server-269",
"localRevisionId":"local-1",
"clientId":"_generatedProjectModel_fb1cbcc3-9dc1-464d-878e-9b192213b7fa",
"changes":{
"tasks":{
"updated":[{"Name":"Task test A","id":103194}]
}
}
}
]
}
But the next revision generates a warning and error:
{
"project":4,
"revisions":[
{
"revisionId": "server-270",
"localRevisionId":"local-2",
"clientId":"_generatedProjectModel_fb1cbcc3-9dc1-464d-878e-9b192213b7fa",
"changes":{
"tasks":{
"updated":[{"Name":"Task test B","id":103194}]
}
}
}
]
}
Warning:
gantt.module.js:30650 Revision is not found
canCheckoutTo @ gantt.module.js:30650
canCheckoutTo @ gantt.module.js:32054
checkoutTo @ gantt.module.js:32210
checkoutToLastCommittedRevision @ gantt.module.js:32216
(anonymous) @ gantt.module.js:193626
asyncGeneratorStep @ asyncToGenerator.js:3
_next @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
ZoneAwarePromise @ zone.js:1429
(anonymous) @ asyncToGenerator.js:21
(anonymous) @ gantt.module.js:193025
asyncGeneratorStep @ asyncToGenerator.js:3
_next @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
ZoneAwarePromise @ zone.js:1429
(anonymous) @ asyncToGenerator.js:21
runQueueStep @ gantt.module.js:193024
(anonymous) @ gantt.module.js:191923
asyncGeneratorStep @ asyncToGenerator.js:3
_next @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
ZoneAwarePromise @ zone.js:1429
(anonymous) @ asyncToGenerator.js:21
invoke @ zone.js:372
onInvoke @ core.mjs:26231
invoke @ zone.js:371
run @ zone.js:134
(anonymous) @ zone.js:1275
invokeTask @ zone.js:406
onInvokeTask @ core.mjs:26218
invokeTask @ zone.js:405
runTask @ zone.js:178
drainMicroTaskQueue @ zone.js:585
invokeTask @ zone.js:491
invokeTask @ zone.js:1661
globalCallback @ zone.js:1692
globalZoneAwareCallback @ zone.js:1725
Error:
core.mjs:7635 ERROR
Error: Uncaught (in promise): Error: Abstract method call!
Error: Abstract method call!
at throwAbstractMethodCall (gantt.module.js:29367:9)
at AutoReadyStateClass.onStartRevision (gantt.module.js:29395:5)
at stateTransition (gantt.module.js:31349:48)
at StateTrackingManager2.startRevision (gantt.module.js:32230:5)
at gantt.module.js:193671:9
at Generator.next (<anonymous>)
at asyncGeneratorStep (asyncToGenerator.js:3:1)
at _next (asyncToGenerator.js:25:1)
at asyncToGenerator.js:32:1
at new ZoneAwarePromise (zone.js:1429:21)
at resolvePromise (zone.js:1211:31)
at zone.js:1118:17
at zone.js:1134:33
at asyncGeneratorStep (asyncToGenerator.js:6:1)
at _throw (asyncToGenerator.js:29:1)
at _ZoneDelegate.invoke (zone.js:372:26)
at Object.onInvoke (core.mjs:26231:33)
at _ZoneDelegate.invoke (zone.js:371:52)
at Zone.run (zone.js:134:43)
at zone.js:1275:36