nextcloud / mail

💌 Mail app for Nextcloud
https://apps.nextcloud.com/apps/mail
GNU Affero General Public License v3.0
831 stars 257 forks source link

Unable to compose mail #4770

Open lemmy04 opened 3 years ago

lemmy04 commented 3 years ago

I'm trying to write an email, when I click on "new message" nothing happens.

Expected behavior

I expect some form of editor form where i can write email.

Actual behavior

nothing happens at all, and I can't see anything in the server logs either.

Mail app

1.9.3

Mailserver or service: (e.g. Outlook, Yahoo, Gmail, Exchange,...) cyrus imap 2.4.19 on openSUSE 15.2

Server configuration

Operating system: openSUSE 15.2

Web server: apache 2.4.43

Database: mariadb 10.4.17

PHP version: (e.g. 7.0)

Nextcloud Version: nextcloud 21.0.0

Client configuration

Browser: Firefox 86.0

Operating system: Windows 10

miaulalala commented 3 years ago

Hi lemmy04,

can you have a look in the browser devtools please and see what the console is logging?

lemmy04 commented 3 years ago

not much:

i opened the console, cleaned the contents, and clicked "new message" - all i got is:

"jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own."

lemmy04 commented 3 years ago

when i click on "reply" on a received mail I get some more:

TypeError: n.aliases is undefined n Composer.vue:384 aliases Composer.vue:374 VueJS 3 Te Composer.vue:1 VueJS 26 e NewMessageDetail.vue:279 l runtime.js:63 _invoke runtime.js:293 v runtime.js:118 Re mail.9.5033282686ee6443f1fb.js:65 i mail.9.5033282686ee6443f1fb.js:65 promise callbackRe mail.9.5033282686ee6443f1fb.js:65 i mail.9.5033282686ee6443f1fb.js:65 promise callbackRe mail.9.5033282686ee6443f1fb.js:65 i mail.9.5033282686ee6443f1fb.js:65 Fe mail.9.5033282686ee6443f1fb.js:65 Fe mail.9.5033282686ee6443f1fb.js:65 fetchOriginalMessage NewMessageDetail.vue:238 fetchMessage NewMessageDetail.vue:198 created NewMessageDetail.vue:179 VueJS 19 vue.runtime.esm.js:1888:12 TypeError: n.aliases is undefined n Composer.vue:384 aliases Composer.vue:374 VueJS 3 setAlias Composer.vue:511 n Composer.vue:442 l runtime.js:63 _invoke runtime.js:293 v runtime.js:118 fe mail.9.5033282686ee6443f1fb.js:65 i mail.9.5033282686ee6443f1fb.js:65 ge mail.9.5033282686ee6443f1fb.js:65 ge mail.9.5033282686ee6443f1fb.js:65 beforeMount Composer.vue:441 VueJS 24 e NewMessageDetail.vue:279 l runtime.js:63 _invoke runtime.js:293 v runtime.js:118 Re mail.9.5033282686ee6443f1fb.js:65 i mail.9.5033282686ee6443f1fb.js:65 promise callbackRe mail.9.5033282686ee6443f1fb.js:65 i mail.9.5033282686ee6443f1fb.js:65 promise callbackRe mail.9.5033282686ee6443f1fb.js:65 i mail.9.5033282686ee6443f1fb.js:65 Fe mail.9.5033282686ee6443f1fb.js:65 Fe mail.9.5033282686ee6443f1fb.js:65 fetchOriginalMessage NewMessageDetail.vue:238 fetchMessage NewMessageDetail.vue:198 created NewMessageDetail.vue:179 VueJS 19 vue.runtime.esm.js:1888:12 VueJS 28 e NewMessageDetail.vue:279 l runtime.js:63 _invoke runtime.js:293 v runtime.js:118 Re mail.9.5033282686ee6443f1fb.js:65 i mail.9.5033282686ee6443f1fb.js:65 (Async: promise callback) Re mail.9.5033282686ee6443f1fb.js:65 i mail.9.5033282686ee6443f1fb.js:65 (Async: promise callback) Re mail.9.5033282686ee6443f1fb.js:65 i mail.9.5033282686ee6443f1fb.js:65 Fe mail.9.5033282686ee6443f1fb.js:65 Fe mail.9.5033282686ee6443f1fb.js:65 fetchOriginalMessage NewMessageDetail.vue:238 fetchMessage NewMessageDetail.vue:198 created NewMessageDetail.vue:179 VueJS 19

ChristophWurst commented 3 years ago

TypeError: n.aliases is undefined

:eyes:

bingpot. I think that's the error @miaulalala was looking for :)

aquaspy commented 3 years ago

I can also confirm. Same error happens for me

TypeError: can't access property "map", n.aliases is undefined n https://next.sobremail.com/apps/mail/js/mail.9.ffe041722b951f0a96bb.js:65 aliases https://next.sobremail.com/apps/mail/js/mail.9.ffe041722b951f0a96bb.js:65 get https://next.sobremail.com/apps/mail/js/mail.js?v=7148f50e-0:7 evaluate https://next.sobremail.com/apps/mail/js/mail.js?v=7148f50e-0:7 gn https://next.sobremail.com/apps/mail/js/mail.js?v=7148f50e-0:7 Te https://next.sobremail.com/apps/mail/js/mail.9.ffe041722b951f0a96bb.js:65 _render https://next.sobremail.com/apps/mail/js/mail.js?v=7148f50e-0:7 r https://next.sobremail.com/apps/mail/js/mail.js?v=7148f50e-0:7 get https://next.sobremail.com/apps/mail/js/mail.js?v=7148f50e-0:7 pn https://next.sobremail.com/apps/mail/js/mail.js?v=7148f50e-0:7 mount https://next.sobremail.com/apps/mail/js/mail.js?v=7148f50e-0:7 $mount https://next.sobremail.com/apps/mail/js/mail.js?v=7148f50e-0:7 init https://next.sobremail.com/apps/mail/js/mail.js?v=7148f50e-0:7 l https://next.sobremail.com/apps/mail/js/mail.js?v=7148f50e-0:7 l https://next.sobremail.com/apps/mail/js/mail.js?v=7148f50e-0:7 O https://next.sobremail.com/apps/mail/js/mail.js?v=7148f50e-0:7 O https://next.sobremail.com/apps/mail/js/mail.js?v=7148f50e-0:7 uo https://next.sobremail.com/apps/mail/js/mail.js?v=7148f50e-0:7 _update https://next.sobremail.com/apps/mail/js/mail.js?v=7148f50e-0:7 r https://next.sobremail.com/apps/mail/js/mail.js?v=7148f50e-0:7 get https://next.sobremail.com/apps/mail/js/mail.js?v=7148f50e-0:7 run https://next.sobremail.com/apps/mail/js/mail.js?v=7148f50e-0:7 fn https://next.sobremail.com/apps/mail/js/mail.js?v=7148f50e-0:7 ee https://next.sobremail.com/apps/mail/js/mail.js?v=7148f50e-0:7 Yt https://next.sobremail.com/apps/mail/js/mail.js?v=7148f50e-0:7 mail.js:7:11622

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

robinmetral commented 2 years ago

☝️ not stale, I'm running into the exact same thing. Nextcloud 21.0.3, Mail 1.11.7

GretaD commented 2 years ago

point_up not stale, I'm running into the exact same thing. Nextcloud 21.0.3, Mail 1.11.7

hello, does this means that also the log error is the name?

robinmetral commented 2 years ago

@GretaD yes, it seems to be caused by this undefined property n.aliases that we're trying to map() over.

Just like @lemmy04, it fails silently when I try to compose an email, but the error pops up in the console when I click "reply" on an email. The two things might be different issues though, can't confirm that they're the same.