Bug 20080

Summary: KeyFile: ";" as a list may be mis-parsed
Product: Telepathy Reporter: Simon McVittie <smcv>
Component: tp-qtAssignee: Andre Moreira Magalhaes <andrunko>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: minor    
Priority: low    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Simon McVittie 2009-02-12 05:58:58 UTC
The test data says

default-empty-list = ;

but that shouldn't be interpreted as an empty list, AIUI; it should be a list containing one empty string.
Comment 1 Simon McVittie 2009-06-22 09:24:08 UTC
http://git.collabora.co.uk/?p=user/andrunko/telepathy-qt4.git;a=shortlog;h=refs/heads/key-file looks like a good change. However, tests/telepathy/managers/test-manager-file.manager still contains:

  56 # the value is an empty list
  57 param-empty-list = as
  58 default-empty-list = ;

which is clearly wrong - either it's wrongly being parsed as an empty list (even though it should be a list of one empty string), or the name and comment are wrong.

Further, tests/manager-file.cpp does not actually test that key (except asserting that it exists).

So, please fix this: this bug should not be closed yet. Assigning to Andre.
Comment 2 Andre Moreira Magalhaes 2009-06-30 13:52:40 UTC
Fixed upstream, it will be in next release 0.1.9

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.