View Issue Details

IDProjectCategoryView StatusLast Update
0005084SOGoWeb Preferencespublic2020-07-16 21:34
Reporterwimmer Assigned Tofrancis  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Versionnightly master 
Summary0005084: Cannot open IMAP ACCOUNTS preferences after certificate import
Description

I want to use my own certificate.
So I go to "Preferences/Mail/Imap accounts/Security" and I import my certificate.
I see red "UNINSTALL" button in the S/MIME Certificate row, but "Subject Name" and "Issuer" have empty values.
I close form. When I want to open it again (via pen icon), I cannot.
I click to Save button and Preferences are saved.
I can send signed messages from that moment and they are signed well.
But I cannot open "Preferences/Mail/Imap accounts" form anymore.
I have to backup my sogo data, delete "SOGoMailCertificate" and "SOGoMailCertificateAlwaysSign" records and restore data back.
After that I can open "Preferences/Mail/Imap accounts" form again.

Steps To Reproduce

I use current git version.

TagsNo tags attached.

Activities

francis

francis

2020-07-16 18:01

administrator   ~0014545

Any Javascript error in your console?

wimmer

wimmer

2020-07-16 18:28

reporter   ~0014547

When I click to "Pen" icon for open my "Imap accounts" form, I see this:

TypeError: this.id is undefined
$certificate Account.service.js:351
h AccountDialogController.js:119
e AccountDialogController.js:39
Angular 12
invoke
get
_createController
link
d
show
k
$digest
$apply
compile
xg
d
angular.js:15635:15
Angular 9
e
get
show
k
$digest
$apply
compile
xg
d

Related Changesets

sogo: master 566fe55d

2020-07-16 17:30

francis


Details Diff
fix(preferences(js)): set account id before importing certificate

Fixes 0005084
Affected Issues
0005084
mod - UI/MailerUI/UIxMailAccountActions.m Diff File
mod - UI/WebServerResources/js/Preferences/AccountDialogController.js Diff File
mod - UI/WebServerResources/js/Preferences/PreferencesController.js Diff File

Issue History

Date Modified Username Field Change
2020-07-16 17:55 wimmer New Issue
2020-07-16 18:01 francis Note Added: 0014545
2020-07-16 18:28 wimmer Note Added: 0014547
2020-07-16 21:31 francis Changeset attached => sogo master 566fe55d
2020-07-16 21:31 francis Assigned To => francis
2020-07-16 21:31 francis Resolution open => fixed
2020-07-16 21:34 francis Product Version 4.3.2 => nightly master
2020-07-16 21:34 francis Status new => resolved