Premium support for our pure JavaScript UI components


Post by david10sing »

schedulerpro.module.js:107945 Uncaught (in promise) Error: Unknown identifier ClassDefEx-918-3138.$.effectiveCalendar
    at throwUnknownIdentifier (schedulerpro.module.js:107945)
    at EngineTransaction.addEdge (schedulerpro.module.js:108621)
    at EngineTransaction.onReadIdentifier (schedulerpro.module.js:108665)
    at EngineTransaction.calculateTransitionsStackGen (schedulerpro.module.js:108797)
    at calculateTransitionsStackGen.next (<anonymous>)
    at EngineTransaction.calculateTransitions (schedulerpro.module.js:108704)
    at calculateTransitions.next (<anonymous>)
    at runGeneratorAsyncWithEffect (schedulerpro.module.js:107405)
    at schedulerpro.module.js:108590

I load data into SchedulerPro v4.1.0 using project.loadCrudManagerData. I am getting this error when I collapse all groups and trigger a reload.

I am also getting this as a console.log

Error: Unknown identifier ClassDefEx-36102-2956.$.assigned
    at throwUnknownIdentifier (schedulerpro.module.js:107945)
    at EngineTransaction.get (schedulerpro.module.js:108350)
    at EngineReplica.get (schedulerpro.module.js:109298)
    at TemplateClass.getFromGraph (schedulerpro.module.js:110124)
    at ClassDefEx.get (schedulerpro.module.js:109762)
    at ResourceStore$1.processRecord (schedulerpro.module.js:113803)
    at ResourceStore$1.loadData (schedulerpro.module.js:27843)
    at ResourceStore$1.setStoreData (schedulerpro.module.js:27800)
    at ResourceStore$1.setStoreData (schedulerpro.module.js:110523)
    at ResourceStore$1.setStoreData (schedulerpro.module.js:110568)

When all the headers are open, I don't get this issue.

Why is this happening? When I do fetch the resources and events again and load it via loadCrudManagerData, do I have to empty all the stores?


Post by mats »

Confirmed, looks like a bug. Ticket here, we'll investigate: https://github.com/bryntum/support/issues/2858


Post by david10sing »

Thank you @mats.

The work around for me if anyone else is following this thread was to do

scheduler.expandAll()

before reloading the data.


Post by david10sing »

Ignore above. It did not resolve the issue.


Post by saki »

OK, thank you for the information.


Post by derulker »

We are also facing this issue when reloading data in Gantt v 4.1.3 and it breaks the view. Is there an estimate on the release date for the fix?


Post by mats »

Should be ready for 4.1.4 in 2-3 weeks or sooner in the nightly builds.


Post by derulker »

Thank you Mats! We would really appreciate if you could let us know when it's been added to the nightly build.


Post by mats »

It's there in tomorrow's build!


Post Reply