To reproduce: 1) Create a new SMTP Server (tick "Default server" checkbox). Save. 2) Now edit that same SMTP Server, don't change anything. Save. 3) Notice how it no longer is default, from the list or by editing again, or by querying SELECT is_default from smtp_servers -> returns is_default:0
Created attachment 154837 [details] [review] Bug 34622: Fix store default query Exclude self smtp server from all the servers being updated to not default if self is_default
Created attachment 155561 [details] [review] Bug 34622: Fix store default query Exclude self smtp server from all the servers being updated to not default if self is_default Signed-off-by: Émily-Rose Francoeur <emily-rose.francoeur@inLibro.com>
Created attachment 155858 [details] [review] Bug 34622: Fix store default query Exclude self smtp server from all the servers being updated to not default if self is_default Signed-off-by: Émily-Rose Francoeur <emily-rose.francoeur@inLibro.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Pushed to master for 23.11. Nice work everyone, thanks!
Pushed to 23.05.x for 23.05.04
Dependency missing from 22.11.x - not backporting