Uninitialized bool property cause marshalling failure.

Hello Orocos devs !

The scenario is :

Load a component with an uninitialized property and try to save the properties twice.

I join an archive with the scenario and here is a kind of log :

deployer-gnulinux -s deployment.xml Test

cd Foo

.provide marshalling

marshalling.writeProperties("foo.xml")

marshalling.writeProperties("foo.xml") 26.070 [ ERROR ][TinyDemarshaller] Wrong value for property 'boolean'. Value should contain '0' or '1', got '255'. 26.070 [ ERROR ][PropertyLoader::save] While updating Foo : Failed to read foo.xml

If i can give you more information, let me know please.

Regards.

Paul.

AttachmentSize
UnitialisedBoolProperty.tar_.bz21.06 KB

Uninitialized bool property cause marshalling failure.

Hello Orocos devs !

The scenario is :

Load a component with an uninitialized property and try to save the properties twice.

I join an archive with the scenario and here is a kind of log :

deployer-gnulinux -s deployment.xml Test

cd Foo

.provide marshalling

marshalling.writeProperties("foo.xml")

marshalling.writeProperties("foo.xml")
26.070 [ ERROR ][TinyDemarshaller] Wrong value for property 'boolean'. Value should contain '0' or '1', got '255'.
26.070 [ ERROR ][PropertyLoader::save] While updating Foo : Failed to read foo.xml

If i can give you more information, let me know please.

Regards.

Paul.

Uninitialized bool property cause marshalling failure.

Hello Orocos devs !

The scenario is :

Load a component with an uninitialized property and try to save the properties twice.

I join an archive with the scenario and here is a kind of log :

deployer-gnulinux -s deployment.xml Test

cd Foo

.provide marshalling

marshalling.writeProperties("foo.xml")

marshalling.writeProperties("foo.xml")
26.070 [ ERROR ][TinyDemarshaller] Wrong value for property 'boolean'. Value should contain '0' or '1', got '255'.
26.070 [ ERROR ][PropertyLoader::save] While updating Foo : Failed to read foo.xml

If i can give you more information, let me know please.

Regards.

Paul.