http://bugzilla.meego.com/show_bug.cgi?id=1023
Summary: shared configs: creating from template overwrites
non-standard type
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=10443
Description From pohly 2010-03-27 14:38:32 PST (-) [reply]
To reproduce:
syncevolution --source-property type=file:text/vcard:3.0 \
--template "SyncEvolution Client" \
clie...@new-context addressbook
syncevolution --template "SyncEvolution Client" \
clie...@new-context addressbook
syncevolution --print-config -q @new-context addressbook | grep type
Should be "file:text/vcard:3.0". Happens to be "addressbook", as in the
template.
Found with some real-world commands and haven't verified the commands above
yet, but I bet they demonstrate the problem.
------- Comment #1 From pohly 2010-03-30 08:26:22 PST (-) [reply] -------
There's one conceptual problem here: the templates always contain a "type"
because that is needed to ensure that a backend is selected *and* they
sometimes contain a format selection as part of the "type" (backward
compatibility).
So if we first set up "Funambol" in a context, then "ScheduleWorld", then
"ScheduleWorld" should not inherit the "calendar" type set for Funambol,
because that contains a format selection (text/calendar!) which is not needed
with ScheduleWorld and could be just plain wrong in other cases. Tested by
CmdlineTest.
There's even a comment in the source code (Cmdline.cpp:getFilters()) about "new
peers having to use a type which is compatible with the existing ones". For the
time being, this is indeed all that can be done.
Long-term we might have to remove the double meaning of "type" to solve this
issue.
--
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