[Akonadi] [Bug 330010] New: KDEPIM .desktop file parser considers invalid the strings containing commas
Alexander Potashev
aspotashev at gmail.com
Wed Jan 15 23:11:29 GMT 2014
https://bugs.kde.org/show_bug.cgi?id=330010
Bug ID: 330010
Summary: KDEPIM .desktop file parser considers invalid the
strings containing commas
Classification: Unclassified
Product: Akonadi
Version: 4.11
Platform: Gentoo Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: server
Assignee: kdepim-bugs at kde.org
Reporter: aspotashev at gmail.com
When a field in .desktop file is set to a string containing commas and this
string is not enclosed in double quotes, then Akonadi parser does not consider
it as a valid string.
See details in this thread:
http://lists.kde.org/?l=kde-i18n-doc&m=138972868202971&w=2
Reproducible: Always
Steps to Reproduce:
1. Write a value for "Comment" field in .desktop file for a resource/agent,
e.g. openxchangeresource.desktop, to be a string with comma(s) and remove the
enclosing double quotes.
2. Go to System Settings -> Personal Information (Akonadi Resources) and click
"Add...". Find the agent/resource that you changed the .desktop file for.
Actual Results:
When the "Name" field in .desktop file contains a comma, then "System Settings"
crashes.
When the "Comment" field in .desktop file containts a comma, then whole Comment
is not below the agent/resource name.
Expected Results:
Strings with commas in .desktop files should be properly treated as strings
with commas.
The .desktop file parser used for example in KDE Control Modules (KCM) don't
suffers from this issue. See details in the above mentioned discussion thread
"Double quotes in Comment field for Akonadi agents/resources are required".
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list