Hello,
A new issue has been created and assigned
to you:
8 - mode="prefix" name="X-CustomLabel-": not in DevInf?!
Project: libsynthesis
Status: New
Reported by: Patrick Ohly
Labels:
Type:Defect
Priority:Medium
Description:
In SyncEvolution we use the example client config, including the Synthesis
specific extensions plus some of our own. For example, TEL:
<property name="TEL">
<value field="TEL"/>
<position field="TEL" repeat="array" increment="1" minshow="1"/>
<parameter name="TYPE" default="yes" positional="no" show="yes">
<value field="TEL_FLAGS" conversion="multimix" combine=",">
<enum name="HOME" value="B0"/>
<enum name="WORK" value="B1"/>
<enum mode="ignore" value="B2"/> <!-- OTHER -->
<enum name="VOICE" value="B3"/>
<enum name="CELL" value="B4"/>
<enum name="FAX" value="B5"/>
<enum name="PAGER" value="B6"/>
<enum name="PREF" value="B7"/>
<enum name="CAR" value="B8"/>
<enum name="X-EVOLUTION-CALLBACK" value="B9"/>
<enum name="X-EVOLUTION-RADIO" value="B10"/>
<enum name="X-EVOLUTION-TELEX" value="B11"/>
<enum name="X-EVOLUTION-TTYTDD" value="B12"/>
<enum mode="prefix" name="X-CustomLabel-" value="1.L"/>
<enum mode="prefix" name="X-Synthesis-Ref" value="2.L"/>
</value>
</parameter>
<parameter name="X-EVOLUTION-UI-SLOT" positional="no" show="yes">
<value field="TEL_SLOT"/>
</parameter>
</property>
I was a bit worried that our client would announce support for X-CustomLabel-
and X-Synthesis-Ref to the server even though we do not really preserve this
information locally.
When looking at the generated DevInf, I found:
<Property>
<PropName>TEL</PropName>
−
<PropParam>
<ParamName>TYPE</ParamName>
<ValEnum>HOME</ValEnum>
<ValEnum>WORK</ValEnum>
<ValEnum>VOICE</ValEnum>
<ValEnum>CELL</ValEnum>
<ValEnum>FAX</ValEnum>
<ValEnum>PAGER</ValEnum>
<ValEnum>PREF</ValEnum>
<ValEnum>CAR</ValEnum>
<ValEnum>X-EVOLUTION-CALLBACK</ValEnum>
<ValEnum>X-EVOLUTION-RADIO</ValEnum>
<ValEnum>X-EVOLUTION-TELEX</ValEnum>
<ValEnum>X-EVOLUTION-TTYTDD</ValEnum>
</PropParam>
<PropParam>
<ParamName>X-EVOLUTION-UI-SLOT</ParamName>
</PropParam>
</Property>
In other words, X-CustomLabel- and X-Synthesis-Ref are not listed. Should it be
listed?
I don't see how this can be done correctly, though, as the mode="prefix"
implies that an unlimited number of such parameters are possible with different
suffices.
How does the Synthesis server handle merging of such information, as it cannot
tell whether clients support or don't support it?
--
Issue: http://www.synthesis.ch/indefero/index.php/p/libsynthesis/issues/8/
_______________________________________________
os-libsynthesis mailing list
[email protected]
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis