İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
2522 Görünümler
OwlError: An error occured in the owl lifecycle (see this Error's "cause" property)
    at handleError (http://localhost:8069/web/assets/5a144fc/web.assets_web.min.js:916:101)
    at App.handleError (http://localhost:8069/web/assets/5a144fc/web.assets_web.min.js:1544:29)
    at Fiber._render (http://localhost:8069/web/assets/5a144fc/web.assets_web.min.js:941:19)
    at Fiber.render (http://localhost:8069/web/assets/5a144fc/web.assets_web.min.js:939:6)
    at ComponentNode.initiateRender (http://localhost:8069/web/assets/5a144fc/web.assets_web.min.js:1007:47)

Caused by: TypeError: ctx.this.state.get_emp_image_url is not a function
    at HrDashboard.template (eval at compile (http://localhost:8069/web/assets/5a144fc/web.assets_web.min.js:1502:374), :23:39)
    at HrDashboard.template (eval at compile (http://localhost:8069/web/assets/5a144fc/web.assets_web.min.js:1502:374), :20:35)
    at Fiber._render (http://localhost:8069/web/assets/5a144fc/web.assets_web.min.js:940:96)
    at Fiber.render (http://localhost:8069/web/assets/5a144fc/web.assets_web.min.js:939:6)
    at ComponentNode.initiateRender (http://localhost:8069/web/assets/5a144fc/web.assets_web.min.js:1007:47)


Avatar
Vazgeç
En İyi Yanıt

were you able to figure out the solution? we are having exact same error.

Avatar
Vazgeç

In my memory there might be some syntax error in .js file,mostly in the setup() fragment.
Sorry I couldn't re-cap more details since haven't had this kind of issue for some time.

En İyi Yanıt

Hi,
if you have custom modules in your db, check and see from which module get_emp_image_url is coming from, if you find the module containing this field, either install/upgrade the app or try uninstalling it from the db and see if the error goes.

Thanks

Avatar
Vazgeç
Üretici

I have checked in my custom module about "get_emp_image_url". but I couldn't find it. What should I do now. As you said, after uninstalling the custom module, the error gets resolved but I need to use that module. Help me please.

Üretici

I have reinstalled, and the same issue is showing again.

Üretici

I have reinstalled, and the same issue is showing again. Later I have searched in Log but it is not running without any error.

Üretici

I mean the log is running without any error

Üretici

Anyone, please help me to solve it.

which is your custom module

Üretici

Custom Dashboard

as the issue is confirmed that is comes from a third party app, can you report it to its author

Üretici

I found the area where the code related to "get_emp_image_url" is present. Below is the code:

get_emp_image_url(employee){
return window.location.origin + '/web/image?model=hr.employee&field=image_1920&id='+employee;
}