[Bug 215507] New: Environment variable expansion not performed on Organisation config entry

Travers Carter tcarter at noggin.com.au
Fri Nov 20 23:57:54 GMT 2009


https://bugs.kde.org/show_bug.cgi?id=215507

           Summary: Environment variable expansion not performed on
                    Organisation config entry
           Product: knode
           Version: 4.3.2
          Platform: Fedora RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: tcarter at noggin.com.au


Version:           4.3.2 (using KDE 4.3.2)
OS:                Linux
Installed from:    Fedora RPMs

When reading it's configuration for the default user identity knode does not
expand environment variables in the Organisation (Org=) field when read from a
non-user config file.  This is true regardless of whether the field is read
from /etc/kde/emailidentities or /etc/kde/knoderc.  When the config is placed
in the per-user file (~/.kde/share/config/knoderc) the field is correctly
expanded.  Other fields in the config including at least the Full Name, Email
Address and Signature do correctly expand environment variables regardless of
which config file they originate from.

To replicate delete or move ~/.kde/share/config/knoderc and put the following
in a system config file (eg /etc/kde/knoderc)

-----%<----------
[IDENTITY]
Org[$e]=${ORGANISATION}
-----%<----------

When knode is started the Organisation field in the settings will read
literally "${ORGANSIATION}" instead of the contents of the ORGANISATION
environment variable.

Slightly off topic for this bug report, but it may also make sense for knode to
default to using the "Inline Signature" field in the emailidentities config
file for the "Sig" IDENITITY entry.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list