http://bugzilla.meego.com/show_bug.cgi?id=713
Summary: config error messages for shared properties
Classification: MeeGo Projects
Product: SyncEvolution
Version: unspecified
Platform: Netbook
OS/Version: IA
Status: ASSIGNED
Severity: enhancement
Priority: Low
Component: SyncEvolution
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
CC: [email protected],
[email protected]
Estimated Hours: 0.0
This is from http://bugzilla.moblin.org/show_bug.cgi?id=8037
Description From pohly 2009-11-16 01:59:24 PST (-) [reply]
Error messages for invalid properties contain the name of the config file in
which they would be stored:
- create config
- set invalid "sync" property via text editor (command line rejects invalid
values)
- syncevolution --print-config
=>
# requests a certain synchronization mode:
# two-way = only send/receive changes since last sync
# slow = exchange all items
# refresh-from-client = discard all remote items and replace with
# the items on the client
# refresh-from-server = discard all local items and replace with
# the items on the server
# one-way-from-client = transmit changes from client
# one-way-from-server = transmit changes from server
# none (or disabled) = synchronization disabled
[ERROR]
/home/pohly/.config/syncevolution/foobar/sources/addressbook/config.ini: sync =
invalid-sync-value: not one of the valid values (two-way, slow,
refresh-from-client = refresh-client, refresh-from-server = refresh-server =
refresh, one-way-from-client = one-way-client, one-way-from-server =
one-way-server = one-way, disabled = none)
After implementing the revised config handling (bug #7707), the file name is
always the name of the non-shared properties. If the wrong property was one of
the shared ones, the user would look into the wrong file.
Right now this cannot happen because none of the shared properties have invalid
values.
The fix for this is to change the ConfigNode::getName() API so that it is
passed a property name. Then MultiplexConfigNode can look up the right name in
the nodes that it accesses.
--
Configure bugmail: http://bugzilla.meego.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
Syncevolution-issues mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution-issues