I tested with the new Silva 1.6 release and SilvaExternalSources 1.2.
I found only one little problem in SilvaExternalSources/CodeSource._cast_value() (line 73):
===
if value == '1':
===
This doesn't result in the correct value if the stored checkbox state is 1 (i.e. an integer value). Therefore, I changed this line to:
===
if value in ['1', 1]:
===
Is there a better way to get the correct value?
I tested with the new Silva 1.6 release and SilvaExternalSo urces 1.2. urces/CodeSourc e._cast_ value() (line 73):
I found only one little problem in SilvaExternalSo
===
if value == '1':
===
This doesn't result in the correct value if the stored checkbox state is 1 (i.e. an integer value). Therefore, I changed this line to:
===
if value in ['1', 1]:
===
Is there a better way to get the correct value?