frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
22.07k stars 7.39k forks source link

email account dashboard is blank after upgrade to ERPnext v8.9.2 #10579

Closed vittitrade closed 7 years ago

vittitrade commented 7 years ago

After upgrade to the ERPnext v8.9.2 not able to view the the email account dashboard.

email account notification
joolsr commented 7 years ago

try and clear the cache

ie bench clear-cache

vittitrade commented 7 years ago

This didn’t help

On 29-Aug-2017, at 5:10 PM, Julian Robbins notifications@github.com wrote:

try and clear the cache

ie bench clear-cache

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/frappe/erpnext/issues/10579#issuecomment-325637799, or mute the thread https://github.com/notifications/unsubscribe-auth/ARlx8Hxd-4Uq_oH5gX6DK-oSrjhustYjks5sc_jIgaJpZM4PEy-j.

rmehta commented 7 years ago

@vittitrade can share the javascript console?

vittitrade commented 7 years ago

desk.min.js?ver=1503985116.0:1472 Unable to handle success response desk.min.js?ver=1503985116.0:1473 ReferenceError: email_defaults is not defined at eval (eval at setup (form.min.js?ver=1503985116.0:2620), :200:10) at Class.setup (form.min.js?ver=1503985116.0:2620) at _f.Frm.setup (form.min.js?ver=1503985116.0:172) at _f.Frm.refresh (form.min.js?ver=1503985116.0:439) at Class.load (form.min.js?ver=1503985116.0:87) at form.min.js?ver=1503985116.0:82 at Object.callback (desk.min.js?ver=1503985116.0:6792) at Object.callback [as successcallback] (desk.min.js?ver=1503985116.0:1345) at (desk.min.js?ver=1503985116.0:1369) at Object. (desk.min.js?ver=1503985116.0:1469) (anonymous) @ desk.min.js?ver=1503985116.0:1473

are you looking for this console finding.

On 30-Aug-2017, at 2:26 PM, Rushabh Mehta notifications@github.com wrote:

@vittitrade https://github.com/vittitrade can share the javascript console?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/frappe/erpnext/issues/10579#issuecomment-325927858, or mute the thread https://github.com/notifications/unsubscribe-auth/ARlx8JrUPNWdqgaVpv1uYraZZnsEn0LWks5sdSO4gaJpZM4PEy-j.

mbauskar commented 7 years ago

@vittitrade,

Just checked the email account and seems to work fine please check the screenshot

screen shot 2017-09-01 at 10 33 52 am

also, Email Account doctype don't have a dashboard did you made any customization? if Yes, then please share the code so that we can check and replicate the issue.

vittitrade commented 7 years ago

Namaskara Makarand,

Please find the screen shot of the page error. We have not done any customisation on the Erpnext. When we try to open the email account page this is what we get.

On 01-Sep-2017, at 10:38 AM, Makarand Bauskar notifications@github.com wrote:

@vittitrade https://github.com/vittitrade,

Just checked the email account and seems to work fine please check the screenshot

https://user-images.githubusercontent.com/11224291/29955962-4aa85016-8f01-11e7-8c22-fe394606f790.png also, Email Account doctype don't have a dashboard did you made any customization? if Yes, then please share the code so that we can check and replicate the issue.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/frappe/erpnext/issues/10579#issuecomment-326489272, or mute the thread https://github.com/notifications/unsubscribe-auth/ARlx8JbqlVhz9NbTZf7MpLLHWkuLcekwks5sd5FbgaJpZM4PEy-j.

mbauskar commented 7 years ago

@vittitrade,

Can not replicate, is email_defaults is used in the customized form eval or defaults property?

vittitrade commented 7 years ago

Namaskara Makarand,

We have not used any customised forms. Have configured it as default configuration. Will be able to share you a login ID to verify the same.

regards Shreyas.

On 04-Sep-2017, at 3:43 PM, Makarand Bauskar notifications@github.com wrote:

@vittitrade https://github.com/vittitrade,

Can not replicate, is email_defaults is used in the customized form eval or defaults property?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/frappe/erpnext/issues/10579#issuecomment-326924547, or mute the thread https://github.com/notifications/unsubscribe-auth/ARlx8EO4xx17T2jqBRFqInTFzuMs351yks5se81ZgaJpZM4PEy-j.

mbauskar commented 7 years ago

@vittitrade,

Can you send me PM me on discuss.erpnext.com

mbauskar commented 7 years ago

@vittitrade,

The issue is due to invalid variable name in the custom script in sendgird_integration app, there is already pull request available to fix the issue https://github.com/semilimes/sendgrid_integration/pull/4, but it seems the repo is inactive for some time.

vittitrade commented 7 years ago

thank you @mbauskar. Have removed the sendgrid integration and able to see the email accounts now.