Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0005443SOGoWeb Preferencespublic2022-01-04 19:05
Reporterrschuetz Assigned Tofrancis  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Fixed in Version5.4.0 
Summary0005443: Can't save vacation auto reply preferences
Description

Vacation auto reply can't be enabled, because the save button stays disabled regardless of chosen settings. Additionally all other preference categories in the sidebar are greyed out.

Additional Information

This error was introduced sometime after the 5.3.0 release.

TagsNo tags attached.

Relationships

has duplicate 0005444 resolvedfrancis SOGo save icon greyed out and cannot be used when adding a email forward 
related to 0005451 closed issue 5443 not fixed: can't save vacation auto-reply preferences 

Activities

rschuetz

rschuetz

2021-12-10 07:44

reporter  

vacation.png (106,350 bytes)   
vacation.png (106,350 bytes)   
rschuetz

rschuetz

2021-12-13 08:49

reporter   ~0015684

This is still reproducible on 20211213 nightly build.

francis

francis

2021-12-13 20:44

administrator   ~0015687

Our demo instance of SOGo is not synced with the latest nightly build. Please test in your environment.

rschuetz

rschuetz

2021-12-14 10:40

reporter   ~0015688

That's what I did.

Some users who had vacation auto reply enabled in the past can save the preferences now. Users without existing vacation auto reply preferences still can't. The "Add default email addresses" button is broken for these, too.

peterbeck

peterbeck

2021-12-15 00:29

reporter   ~0015691

Hi Francis,
i am having exactly the same issues as rschuetz - it's working for users with settings changed in the past but not for others that never changed anything. Just installed 5.3.0.20211214 and the issue remains. it's also not working when using sogo-tool to change any of the settings, no error but also no changes
example, here is no error reported, but the settings are not applied:

sogo-tool -v user-preferences set defaults user@domain SOGOMailComposeWindow '{"SOGoMailComposeWindow":"inline"}'
<0x0x5571b3b932a0[SOGoCache]> Cache cleanup interval set every 300.000000 seconds
<0x0x5571b3b932a0[SOGoCache]> Using host(s) 'localhost' as server(s)

Regards Peter

rschuetz

rschuetz

2021-12-16 10:47

reporter   ~0015694

The "Add default email addresses" button still does not work properly for users without existing vacation auto reply preferences. If the prepopulated email addresses are removed from the field they can't be added back by clicking the button. I tracked this down to Preferences.service.js:

if ((angular.isUndefined(data.Vacation.autoReplyEmailAddresses) ||
    data.Vacation.autoReplyEmailAddresses.length == 0) &&
    angular.isDefined(window.defaultEmailAddresses))
data.Vacation.autoReplyEmailAddresses = window.defaultEmailAddresses;

window.defaultEmailAddresses should probably be copied here.

Related Changesets

sogo: master cb4d555e

2021-12-10 11:07

francis


Details Diff
fix(preferences(js)): set default auto mark as read delay to 5

Fixes 0005443
Affected Issues
0005443
mod - UI/WebServerResources/js/Preferences/PreferencesController.js Diff File

sogo: master 46971d47

2021-12-15 16:39

francis


Details Diff
fix(preferences(js)): improve initialization of dates/times constraints

Fixes 0005443
Affected Issues
0005443
mod - UI/WebServerResources/js/Preferences/Preferences.service.js Diff File

sogo: master bdfe1be7

2021-12-16 08:08

francis


Details Diff
fix(preferences(js)): don't alter the list of default email addresses

Fixes 0005443
Affected Issues
0005443
mod - UI/WebServerResources/js/Preferences/Preferences.service.js Diff File

Issue History

Date Modified Username Field Change
2021-12-10 07:44 rschuetz New Issue
2021-12-10 07:44 rschuetz File Added: vacation.png
2021-12-10 16:08 francis Changeset attached => sogo master cb4d555e
2021-12-10 16:08 francis Assigned To => francis
2021-12-10 16:08 francis Resolution open => fixed
2021-12-10 16:09 francis Status new => resolved
2021-12-10 16:09 francis Fixed in Version => nightly master
2021-12-10 22:01 francis Relationship added has duplicate 0005444
2021-12-13 08:49 rschuetz Status resolved => feedback
2021-12-13 08:49 rschuetz Resolution fixed => reopened
2021-12-13 08:49 rschuetz Note Added: 0015684
2021-12-13 20:44 francis Status feedback => resolved
2021-12-13 20:44 francis Note Added: 0015687
2021-12-14 10:40 rschuetz Status resolved => feedback
2021-12-14 10:40 rschuetz Note Added: 0015688
2021-12-15 00:29 peterbeck Note Added: 0015691
2021-12-15 21:40 francis Changeset attached => sogo master 46971d47
2021-12-15 21:40 francis Resolution reopened => fixed
2021-12-15 21:47 francis Status feedback => resolved
2021-12-16 10:47 rschuetz Status resolved => feedback
2021-12-16 10:47 rschuetz Resolution fixed => reopened
2021-12-16 10:47 rschuetz Note Added: 0015694
2021-12-16 13:10 francis Changeset attached => sogo master bdfe1be7
2021-12-16 13:10 francis Resolution reopened => fixed
2021-12-16 13:10 francis Status feedback => resolved
2021-12-16 13:10 francis Fixed in Version nightly master => 5.4.0
2022-01-04 19:05 francis Relationship added related to 0005451