Our pure JavaScript Scheduler component


Post by netten.mehra »

Hello,

I'm experiencing the issue with the resource utilization component: sometimes when the startDate or endDate of the connected Scheduler component changes the utilization component crashes with the following error:

Uncaught (in promise) Error: Cycle during synchronous computation
    at EngineTransaction.get (Transaction.js:215:21)
    at EngineReplica2.get (Graph.js:618:5)
    at TemplateClass.getFromGraph (ModelFieldAtom.js:80:24)
    at ModelClass.get (Entity.js:264:33)
    at get assigned [as assigned] (ResourceModel.js:120:24)
    at Object.processRecord (AbstractResourceStoreMixin.js:57:1)
    at Object.loadData (Store.js:1413:18)
    at Object.setStoreData (Store.js:1365:14)
    at Object.setStoreData (AbstractPartOfProjectStoreMixin.js:98:37)
    at Object.setStoreData (ChronoPartOfProjectStoreMixin.js:46:26)

Setup of the ResourceUtilization component looks like this:

<ResourceUtilization
  ref={utilizationRef}
  resources={resources}
  partner={partner.current.instance}
  treeFeature
  hideHeaders
  showTooltip
  columns={memoizedColumns}
  milestoneLayoutMode="measure"
  getBarText={getMemoizedBarText}
/>

Bryntum Scheduler Version is 5.3.3


Post by arcady »

Please provide a runnable test case so we could reproduce the issue.


Post by netten.mehra »

Is it possible to share the code private? I don't have the separate example right now, only the entire project


Post by alex.l »

Hi, yes, you can send your code/link to sources by email: support at bryntum.com

All the best,
Alex


Post Reply