Hello, we have the weirdest bug that has been carried on for ages now, which crashes the preferences view. It happens up to version 8.3.5 and affects old accounts. New accounts seems not to be affected. I have not been able to reproduce this error in other instances. Currently we are running 8.3.5 with docker.
This error shows in the browser console. The preferences view does not show.
I managed to track this error down to the espo-main.js file in client/lib on Line 35, Col 302019.
I added the trusty old console.log before the statement to see what is happening.
And here is the one "array" to blame.
Clearly this forEach cannot be used on {0: 'Meeting', 1: 'Call', 2: 'Email', 3: 'BpmnUserTask', 5: 'Task'}, so I just applied a little fix to see if it works now.
....Aaaand voilá, now the error does not happen and the preferences view is finally shown.
Anyways... of course this fix will not survive upgrades, so... does anyone knows where does that object ({0: 'Meeting'...}) is coming from?
Thanks for listening to my TED talk.
(PS. I took more screenshots but only a maximum of 5 are allowed)
This error shows in the browser console. The preferences view does not show.
I managed to track this error down to the espo-main.js file in client/lib on Line 35, Col 302019.
I added the trusty old console.log before the statement to see what is happening.
And here is the one "array" to blame.
Clearly this forEach cannot be used on {0: 'Meeting', 1: 'Call', 2: 'Email', 3: 'BpmnUserTask', 5: 'Task'}, so I just applied a little fix to see if it works now.
....Aaaand voilá, now the error does not happen and the preferences view is finally shown.
Anyways... of course this fix will not survive upgrades, so... does anyone knows where does that object ({0: 'Meeting'...}) is coming from?
Thanks for listening to my TED talk.
(PS. I took more screenshots but only a maximum of 5 are allowed)
Comment