Post by caalb »

Hello team,

I have a critical error.

When copy/paste tasks with dependencies (predecessors) they get pasted. After switching to another view and returning the predecessors are gone. Right click causes an Odoo Promise error.

UncaughtPromiseError > TypeError
Uncaught Promise > Cannot read properties of null (reading 'split')
TypeError: Cannot read properties of null (reading 'split')
    at e.parseDependencies (http://192.168.56.103:8069/bryntum_gantt/static/gantt_src/js/chunk-vendors.js?v17.0.2.1.21:64:1576569)
    at qP.fromClipboardString (http://192.168.56.103:8069/bryntum_gantt/static/gantt_src/js/chunk-vendors.js?v17.0.2.1.21:64:1580819)
    at ez.setFromStringData (http://192.168.56.103:8069/bryntum_gantt/static/gantt_src/js/chunk-vendors.js?v17.0.2.1.21:23:217300)
    at ez.stringParser (http://192.168.56.103:8069/bryntum_gantt/static/gantt_src/js/chunk-vendors.js?v17.0.2.1.21:39:106457)
    at ez.transformClipboardText (http://192.168.56.103:8069/bryntum_gantt/static/gantt_src/js/chunk-vendors.js?v17.0.2.1.21:11:1046458)
    at ez.hasClipboardData (http://192.168.56.103:8069/bryntum_gantt/static/gantt_src/js/chunk-vendors.js?v17.0.2.1.21:11:1046712)
    at ez.populateCellMenu (http://192.168.56.103:8069/bryntum_gantt/static/gantt_src/js/chunk-vendors.js?v17.0.2.1.21:39:108197)
    at ez.populateCellMenu (http://192.168.56.103:8069/bryntum_gantt/static/gantt_src/js/chunk-vendors.js?v17.0.2.1.21:64:1668533)
    at functionChainRunner (http://192.168.56.103:8069/bryntum_gantt/static/gantt_src/js/chunk-vendors.js?v17.0.2.1.21:11:204199)
    at e.<computed> [as populateCellMenu] (http://192.168.56.103:8069/bryntum_gantt/static/gantt_src/js/chunk-vendors.js?v17.0.2.1.21:11:203878)

We are using Odoo 17.0 CE - Bryntum Version 17.0.2.21.
Browser: Microsoft Edge for Business: 131.0.2903.86

Hoping for your help.

Best
caalb


Post by nivl »

Hi caalb,

Thanks for reporting the error.
I tried re-creating it on the demo, but am unable to. Could you try something for me? I see you're on version 21, could you update to the latest and see if it still happens for you? It should be Version 17.0.2.1.23.

Please let me know what your results are.

Niels


Post by caalb »

Hi Niels,

I installed version 17.02.1.23 on testing but still get the same behavior.

To ensure that it's not an interaction with one of our other third party modules, I started a completely new docker instance of Odoo 17.0 CE with only Gantt View PRO installed.
The behavior shows up there, too.

I also checked if it's a browser issue, as it raises Javascript errors, but the behavior shows up in Edge (Webkit) and Firefox.

To visualize the problem I made a screencast for you, using your modules demo project.

https://drive.proton.me/urls/CCTMY4NJ90#tsMLFDsKxz41

Please look into this. This is really hinderance.

Caalb


Post by nivl »

Hi Caalb,

This is interesting. Thank you for reporting your findings. I've got the same behavior now.

It is the exact same error you reported getting when noticing that tags are not copied. This is actually in a sprint already, so I have added this information to that task and will be checking for it when it is in the testing stage.

I'll keep you posted on the progress.

Niels


Post by caalb »

Hey Nils,

any updates on the situation?
My team is bugging me. ;)

Cheers
Caalb


Post by tomb »

Putting it at the top of the list right now! Expect a fix next week


Post Reply