Hello!

Something I stumbled about while working on the server's support for
config property filtering...

commit 752d212f6dc2be3fb69299bb7561653f39dc1f87
Author: Patrick Ohly <[email protected]>
Date:   Mon Sep 14 21:44:00 2009 +0200

    D-Bus API: property names are case insensitive
    
    We cannot specify it in D-Bus (only has case sensitive
    dictionaries), but the config property names are case
    insensitive. Added a warning for API users about this.

diff --git a/src/dbus/interfaces/syncevo-server-full.xml
b/src/dbus/interfaces/syncevo-server-full.xml
index 9a3d132..239fee7 100644
--- a/src/dbus/interfaces/syncevo-server-full.xml
+++ b/src/dbus/interfaces/syncevo-server-full.xml
@@ -82,6 +82,11 @@
               values will always use the default value, even after that
               changed during a software update. Properties that are set
               always use the chosen value.
+
+              Note that property keys are case insensitive. The D-Bus
+              interface specification would allow to send two
+              properties whose keys only differ in case to the
+              server. The result is undefined.
             </doc:description>
           </doc:doc>
       </arg>

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.


_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to