Hello community,
we are getting an error whenever we try to edit any item on any list/page within odoo studio.
This happens everywhere, does not matter if we try it in customer support, sales or any other module.
We are running Odoo 17.0+e-20250113 (Enterprise-Edition) on a self hosted linux environment.
Trying to create a new App on the Main Page does work, editing a report also works fine.
Steps to reproduce:
Open for example a ticket -> Open Studio -> Click on any item.
Error Message:
OwlError: An error occured in the owl lifecycle (see this Error's "cause" property) Error: An error occured in the owl lifecycle (see this Error's "cause" property) at handleError (https://****/web/assets/f16c0b1/web.assets_web.min.js:916:101) at App.handleError (https://****/web/assets/f16c0b1/web.assets_web.min.js:1559:29) at ComponentNode.initiateRender (https://****/web/assets/f16c0b1/web.assets_web.min.js:1008:19) Caused by: TypeError: Cannot read properties of undefined (reading 'length') at zip (https://****/web/assets/f16c0b1/web.assets_web.min.js:3878:144) at Object.loadDisplayNames (https://****/web/assets/f16c0b1/web.assets_web.min.js:2858:64)
Function throwing the error:
__exports.zip = zip;
function zip(array1, array2, fill=false) {
const result = [];
const getLength = fill ? Math.max : Math.min;
for (let i = 0; i < getLength(array1.length, array2.length); i++) {
result.push([array1[i], array2[i]]);
}
return result;
Any hint on how to troubleshoot or find the cause of this problem would be very much appriciated!
Thanks a lot!
Thanks a lot for that detailed answer!
I tried steps 1-3 without success, the error presists.
Something I have noticed: The error message changes when in debug mode:
Odoo error message:
Browser console error message:
I will grab the error logs of the server and post them tomorrow.