Bug 118351 - cascading central configs break user config
Summary: cascading central configs break user config
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.7.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-14 23:19 UTC by former user
Modified: 2015-04-12 10:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description former user 2005-12-14 23:19:45 UTC
Version:           1.7.2 (using KDE 3.3.2,  (3.1))
Compiler:          gcc version 3.3.5 (Debian 1:3.3.5-13)
OS:                Linux (i686) release 2.6.8-2-386

This happens when using cascading configuration
http://www.kde.org/areas/sysadmin/config_file.php#cascading
with shell expansion to centrally provide all users in a network with a working config.

1)

When choosing a default Mail Identity or Transport kmail saves this object as first 
entry in the config file. On the next program startup the first entry will be overridden by the central configs first Identity. 

The default Identity etc. should probabaly be defined by an id# not list enumeration.

Workaround: Don't change the default Identity or Transport but specify a 
specific Transport for your alternate Identities and use the "sticky" Identity 
checkmark in the composer window Identity selection to stick to your main 
Identity.



2)

The KDE config cascading and/or Kmail prevents  
different stanzas like [Identity #n] to get merged corectly between cascades.  
  
The numbering is taken as hardcoded and overlap between different cascades.
I.e. wehn [Identity #0] exists in a user's  
config file and another [Identity #0] is provided in a layer above, the one from  
above overrides/writes the users one.  
  
Coruption happens when config files are moved or edited, or during updates when new central configs with new stanzas get installed.  
  
Workaround: You have to incrase all numberings of user stanzas in a users config 
file i.e. [Account n+1] and also accounts=N+1 under [General], before creating 
a central config file with one such stanza added to the beginning.


Downstream problem reports including example configs (see attatchments) can for example be found at:
http://bugs.skolelinux.no/show_bug.cgi?id=550
Comment 1 Björn Ruberg 2009-12-24 15:20:44 UTC
Is this still a problem in KDE 4.3?
Comment 2 Laurent Montel 2015-04-12 10:14:11 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.