http://bugs.orocos.org/show_bug.cgi?id=845
Summary: UpdateProperties complains on 2.3.0
Product: RTT
Version: 2.0-mainline
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: Real-Time Toolkit (RTT)
AssignedTo: orocos-dev [..] ...
ReportedBy: paul [dot] chavent [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0
Created attachment 664
--> http://bugs.orocos.org/attachment.cgi?id=664
The test case.
Hi.
I join a test case that instanciate two components in the deployer. The first
one load a property in the deployer conf file, the other use UpdateProperties.
The update works, but there is an error trace :
[ ERROR ][PropertyLoader:configure] Can not initialize Property from bar:
incompatible type (string).
The problem is in PropertyComposition.cpp (new in 2.3.0) at line ~20 at the
test of the property bag. If the test fails, it is correctly handled but the
error message is printed.
I think that instead of calling "Property::Property( base::PropertyBase*
source)", we could call "Property<T>& Property::operator=( base::PropertyBase*
source )". So i suggest a patch too.
I wonder if this affectation operator is ever called in any code of the
toolchain ...
[Bug 845] UpdateProperties complains on 2.3.0
http://bugs.orocos.org/show_bug.cgi?id=845
Peter Soetens <peter [..] ...> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Component|Real-Time Toolkit (RTT) |RTT
Version|2.0-mainline |2.3.0
Resolution| |FIXED
Product|RTT |Toolchain
Target Milestone|--- |next-bugfix
--- Comment #2 from Peter Soetens <peter [..] ...> 2011-06-01 09:31:14 CEST ---
Thanks for this patch, it was applied in 2.3.1.
Please submit 2.x bugs under the Toolchain product
[Bug 845] UpdateProperties complains on 2.3.0
http://bugs.orocos.org/show_bug.cgi?id=845
--- Comment #1 from Chavent Paul <paul [dot] chavent [..] ...> 2011-03-11 16:57:20 CET ---
Created attachment 665
--> http://bugs.orocos.org/attachment.cgi?id=665
Suggested patch.
It's temporary patch. Perhaps there is an other solution.
[Bug 845] UpdateProperties complains on 2.3.0
I recently had the same kind of problem. Something has been pushed to
toolchain-2.3 and solved the problem for me. Did you get the latest 2.3
version ?
2011/3/11 Chavent Paul <paul [dot] chavent [..] ...>
>
> http://bugs.orocos.org/show_bug.cgi?id=845
>
> --- Comment #1 from Chavent Paul <paul [dot] chavent [..] ...> 2011-03-11
> 16:57:20 CET ---
> Created attachment 665
> --> http://bugs.orocos.org/attachment.cgi?id=665
> Suggested patch.
>
> It's temporary patch. Perhaps there is an other solution.
>
> --
> Configure bugmail: http://bugs.orocos.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
> You are the assignee for the bug.
> --
> Orocos-Dev mailing list
> Orocos-Dev [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
>
[Bug 845] UpdateProperties complains on 2.3.0
No i currently work on the release.