[Bug 749] New: Autosave after failed deployment results in trashed property file

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=749

Summary: Autosave after failed deployment results in trashed
property file
Product: RTT
Version: rtt-trunk
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P3
Component: Properties & XML
AssignedTo: orocos-dev [..] ...
ReportedBy: kiwi [dot] net [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

We have one component auto-saving a property file. If another component fails
to start in the deployer, the resulting auto-saved property file for the first
component contains all 0 values (which are invalid in this case).

I've no idea where to start with this one. I would argue that a failed
deployment should not result in auto-saving any property files?

Tested on Snow Leopard.

[Bug 749] Autosave after failed deployment results in trashed pr

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=749

Peter Soetens <peter [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution| |FIXED
Status|NEW |RESOLVED

--- Comment #2 from Peter Soetens <peter [..] ...> 2010-02-22 12:07:17 ---
(In reply to comment #1)
> Created an attachment (id=579)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=579)
> Do not save property file when it hasn't been loaded
>
> Tracks whether a property file was successfully loaded, per component, and only
> auto-saves if property file was loaded successfully.

Thanks for the patch applied on trunk and 2.0-mainline.

Peter

[Bug 749] Autosave after failed deployment results in trashed pr

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=749

--- Comment #1 from S Roderick <kiwi [dot] net [..] ...> 2010-01-24 17:36:05 ---
Created an attachment (id=579)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=579)
Do not save property file when it hasn't been loaded

Tracks whether a property file was successfully loaded, per component, and only
auto-saves if property file was loaded successfully.