View Issue Details

IDProjectCategoryView StatusLast Update
0006077SOGoWeb Mailpublic2025-01-31 07:54
Reporterjb044 Assigned Toqhivert  
PriorityurgentSeverityblockReproducibilityalways
Status resolvedResolutionno change required 
Product Version5.11.2 
Summary0006077: Mail body does not show caused by a js exception
Description

In punycode.js there is a global const "base", apperently somewhere in the code this is already defined so it throws a js exception and this causes problems in angular because it cannot find a punycode method. I'm not a js developer but a quick grep pointed me towards angular-ui-router. This causes the mail body not too show when you click on a mail in the webinterface or try to create a mail.

Locally I fixed this by replacing base by base2 in the punycode sourcecode. But since it is a vendor script I guess this should be fixed upstream, base is just a too common name for a global constant imho.

Steps To Reproduce

Login via SOGo webinterface and click on a mail in the mail display.
Only mail address, subject and labels show up.

TagsNo tags attached.

Activities

qhivert

qhivert

2025-01-28 14:44

administrator   ~0018037

Ho do you install sogo? from repos or do you build it yourself?
It's strange because I havn't see any report on this apart from here. On our demo website updated each day seems working fine -> https://demo.sogo.nu

jb044

jb044

2025-01-30 13:03

reporter   ~0018049

I run it in a docker container that simply pull ubuntu Nightly builds. Perhaps it is something with my chrome, will look a bit further into it.

jb044

jb044

2025-01-30 20:16

reporter   ~0018050

My mistake, it was an chrome extension that was causing this

Issue History

Date Modified Username Field Change
2025-01-27 10:19 jb044 New Issue
2025-01-28 14:44 qhivert Note Added: 0018037
2025-01-30 13:03 jb044 Note Added: 0018049
2025-01-30 20:16 jb044 Note Added: 0018050
2025-01-31 07:54 qhivert Assigned To => qhivert
2025-01-31 07:54 qhivert Status new => resolved
2025-01-31 07:54 qhivert Resolution open => no change required