Our state of the art Gantt chart


Post by cyberspirit »

Hi Team, I tried to embed the react advance gantt sample in my project it renders after few minutes throws below error. i cant debug cos the code is minified is this a bug?
TypeError: this.client[_0x5967(...)] is undefined
getElementsByRecord
C:/Users/spirit/source/repos/PMISCore/ClientApp/gantt-2.0.0-trial/build/gantt.module.js:66783

  66780 | 
  66781 | [_0x5967('0x1681')](_0x4bf690) {
  66782 |   const _0x20841a = typeof _0x4bf690 !== _0x5967('0x81') ? _0x4bf690 : _0x4bf690['id'],
> 66783 |         _0x5202cf = this['client'][_0x5967('0x1503')][_0x5967('0x12e')](this['baseSelector'] + _0x5967('0x8ce') + _0x20841a + '\x22]'),
        | ^  66784 |         _0x1fc808 = this[_0x5967('0x1671')][_0x5967('0x12e')](this['baseSelector'] + '[data-id=\x22' + _0x20841a + '\x22]');
  66785 | 
  66786 |   return _0x5202cf ? {

onStoreChanged
C:/Users/spirit/source/repos/PMISCore/ClientApp/gantt-2.0.0-trial/build/gantt.module.js:66877

  66874 | 
  66875 | if (_0x10f3da[_0x5967('0x65e')] === _0x5967('0x725')) {
  66876 |   const _0x5b725a = _0x10f3da[_0x5967('0x7ab')][_0x5967('0x1a')]('id') ? _0x10f3da[_0x5967('0x7ab')]['id'][_0x5967('0x771')] : _0x10f3da[_0x5967('0x585')]['id'],
> 66877 |         _0x45a7c4 = _0x3d37be[_0x5967('0x1681')](_0x5b725a),
        | ^  66878 |         _0x569d28 = _0x3d37be[_0x5967('0x1675')](_0x10f3da[_0x5967('0x585')], !_0x45a7c4);
  66879 | 
  66880 |   if (_0x45a7c4 && !_0x569d28) {

updateCurrentTimeLine
C:/Users/spirit/source/repos/PMISCore/ClientApp/gantt-2.0.0-trial/build/gantt.module.js:67686

  67683 | _0x44caa2[_0x5967('0x16b8')][_0x5967('0x939')] = new Date();
  67684 | _0x44caa2[_0x5967('0x16b8')][_0x5967('0x57')] = DateHelper[_0x5967('0x207')](_0x44caa2[_0x5967('0x16b8')][_0x5967('0x939')], _0x44caa2['currentDateFormat']);
  67685 | 
> 67686 | _0x44caa2[_0x5967('0xe48')]({
        | ^  67687 |   'action': 'update',
  67688 |   'record': _0x44caa2['currentTimeLine'],
  67689 |   'changes': {}

Post by mats »

How do we reproduce this? Can you reproduce this in our samples somehow?

Post by cyberspirit »

gantt.PNG
gantt.PNG (67.36 KiB) Viewed 764 times
this error shows after few seconds of actually rendering and dis[playing the gantt in my page. the sample project works. stand alone but when i try without code modification all folders and scripts imported correctly it displays the gantt and few seconds crash

Post by mats »

Ok can you please upload your test case?

Post Reply