View Issue Details

IDProjectCategoryView StatusLast Update
0003439SOGoWeb Mailpublic2016-01-15 20:12
Reporteremilio.fonseca Assigned Tofrancis  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformGoogle Chrome 47.0.2526.111OSDebian OS Version7
Product Versionnightly v2 
Summary0003439: New Mail popup view doesn't show
Description

When I click in the button to create a New Mail, the popup view doesn't show.
I got a Javascript error, just like the print attached to this bug.

I'm using nightly packages.

Steps To Reproduce

In the main Mail View, click on the floating button to create a new email.

Expected: New popup view appears.

Result: Nothing happens.

TagsNo tags attached.

Activities

emilio.fonseca

emilio.fonseca

2016-01-15 13:55

reporter  

error.png (39,509 bytes)   
error.png (39,509 bytes)   
francis

francis

2016-01-15 13:59

administrator   ~0009282

Already fixed: https://github.com/inverse-inc/sogo/commit/f5432525ec7537d5d056c93c904bcb595a218055

emilio.fonseca

emilio.fonseca

2016-01-15 15:41

reporter   ~0009283

Hello,
I'm sorry if I am doing something wrong, but I am still having the same error.

I have pulled the last commit on master branch: Now, the Head of my project is on commit 8593ee9fbb31354a407defa4457f164cb9c3609b.

Also, I will try to attach prints that could help you guys.

emilio.fonseca

emilio.fonseca

2016-01-15 15:42

reporter  

Print_showing_updated.png (320,213 bytes)
emilio.fonseca

emilio.fonseca

2016-01-15 15:42

reporter  

emilio.fonseca

emilio.fonseca

2016-01-15 15:44

reporter   ~0009284

Please, let me know if there is something I could do to help you.

francis

francis

2016-01-15 15:46

administrator   ~0009285

I accept your apologies but you're doing something wrong. You need to generate the JavaScript files once you applied my patch. If you don't know grunt, I suggest to move the nightly builds: http://www.sogo.nu/downloads/backend_v3_nightly.html

emilio.fonseca

emilio.fonseca

2016-01-15 17:16

reporter   ~0009286

Francis,

we tried on nightly and also on the latest commit. We have a server running on nightly and another on out of git. We want to make sure we don't report any fixed bugs.

We have been doing make/make install here but we ran grunt / make install on sogo/UI/WebServerResources just to make sure.

As you can see on screenshots, the browser is getting the most recent javascript files, and those files are patched with the commit you linked.

I know that it works on demo so I'm thinking maybe something specific from on setup.

Doing some digging here we saw that the javascript code is looking for mailbox by the name of "Drafts". On our setup that mailbox is "INBOX/Drafts" as we set on our sogo.conf. Maybe this is our root cause.

If you want you can access our test server (the Git one), the address is http://sogo.mav.com.br/SOGo with the user "user1@sogotests.com.br" and password "user1" (no ").

I'll keep trying to debug more here. I'm available to help with anything you need. Thank you very much for your attention on that.

Best regards,
Emilio Fonseca

emilio.fonseca

emilio.fonseca

2016-01-15 17:29

reporter   ~0009287

Just to let you know, the jsonDefaults request returns the correct config under specialMailboxes:

{
"SOGoTimeFormat": "%H:%M",
"AuxiliaryMailAccounts": [{"userName": "user1@sogotests.com.br", "identities": [{"isDefault": 1, "email": "user1@sogotests.com.br", "fullName": "user1@sogotests.com.br"}],
"receipts": {"receiptOutsideDomainAction": "ignore", "receiptNonRecipientAction": "ignore", "receiptAction": "ignore", "receiptAnyAction": "ignore"},
"encryption": "none",
"specialMailboxes": {"Drafts": "INBOX\/Drafts", "Trash": "INBOX\/Trash", "Sent": "INBOX\/Sent"}
(...)

emilio.fonseca

emilio.fonseca

2016-01-15 17:31

reporter   ~0009288

Okay, the "compose" request is returning the incorrect folder name:
{"draftId": "newDraft1452879019-1", "accountId": "0", "mailboxPath": "Drafts"}

francis

francis

2016-01-15 20:12

administrator   ~0009289

Good catch! Here's a fix: https://github.com/inverse-inc/sogo/commit/3f2c6efe7e50532620af9a8f8ef960cc8b68a2c4

Issue History

Date Modified Username Field Change
2016-01-15 13:55 emilio.fonseca New Issue
2016-01-15 13:55 emilio.fonseca File Added: error.png
2016-01-15 13:59 francis Note Added: 0009282
2016-01-15 13:59 francis Status new => resolved
2016-01-15 13:59 francis Resolution open => fixed
2016-01-15 13:59 francis Assigned To => francis
2016-01-15 15:41 emilio.fonseca Note Added: 0009283
2016-01-15 15:41 emilio.fonseca Status resolved => feedback
2016-01-15 15:41 emilio.fonseca Resolution fixed => reopened
2016-01-15 15:42 emilio.fonseca File Added: Print_showing_updated.png
2016-01-15 15:42 emilio.fonseca File Added: Breakpoint_showing_undefined.png
2016-01-15 15:44 emilio.fonseca Note Added: 0009284
2016-01-15 15:44 emilio.fonseca Status feedback => assigned
2016-01-15 15:46 francis Note Added: 0009285
2016-01-15 15:46 francis Status assigned => resolved
2016-01-15 15:46 francis Resolution reopened => fixed
2016-01-15 17:16 emilio.fonseca Note Added: 0009286
2016-01-15 17:16 emilio.fonseca Status resolved => feedback
2016-01-15 17:16 emilio.fonseca Resolution fixed => reopened
2016-01-15 17:29 emilio.fonseca Note Added: 0009287
2016-01-15 17:29 emilio.fonseca Status feedback => assigned
2016-01-15 17:31 emilio.fonseca Note Added: 0009288
2016-01-15 20:12 francis Note Added: 0009289
2016-01-15 20:12 francis Status assigned => resolved
2016-01-15 20:12 francis Resolution reopened => fixed