https://bugs.meego.com/show_bug.cgi?id=18864

--- Comment #2 from pohly <[email protected]> 2011-06-13 10:46:47 UTC ---
Jussi, didn't we also agree that the UI should set the PeerName property if not
already in the template?

For example, the user might have chosen "XYZ/ foo bar" as config name (can
happen with a phone). Such a config name is valid in StartSession() as an alias
for the normalized version of the config name, which happens to be xyz_foo_bar
(lower case, special characters replaced by underscore).

This "normal form" is *not* something that the UI should know or care about!
Consider it an implementation detail.

That the GTK-UI emulates the normalization by doing a case-insensitive
comparison IMHO is a historic artifact. The correct solution would be:
- retrieve template
- set PeerName to the name of the template, if no PeerName is set
- save
- retrieve config
- compare PeerName against template name

--------
Product: OS Middleware
Component: SyncEvolution
MeeGo Release: 1.2
Severity: trivial
Priority: Low
Keywords: 
Status: NEW
Who: [email protected]
Assigned To: [email protected]
Target Build: ---
Flags: 
Changed: 
--------

https://bugs.meego.com/show_bug.cgi?id=18864


-- 
Configure bugmail: https://bugs.meego.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching someone on the CC list of the bug.
_______________________________________________
Syncevolution-issues mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution-issues

Reply via email to