A few months ago, we extended Roby::Actions::Models::Action::Argument to add the "example" fields. Unfortunately, ruby won't load struct of the old type because the amount of fields have changed - something that does not happen with classes.
Beyond showing again that the current log format is simply wrong, it makes all older log files un-readable. This commit hacks its way around the problem by re-defining the constant with the old struct definition.
A few months ago, we extended Roby::Actions::Models::Action::Argument to add the "example" fields. Unfortunately, ruby won't load struct of the old type because the amount of fields have changed - something that does not happen with classes.
Beyond showing again that the current log format is simply wrong, it makes all older log files un-readable. This commit hacks its way around the problem by re-defining the constant with the old struct definition.