You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a keyword declared
@RobotKeyword
public void foo(Object bar) ...
bar will be null no matter what is passed in. This is because ArgumentConverter.convertToType returns null if the parameter type is not Integer, String, Double or Long.
Note also that Boolean, Byte, Short, and Float are not handled either. These are all mentioned in the Robot Framework guide, but there is no mention in the wiki for argument types.
Upgrading from 0.9.1 to 1.0.1 caused 60 acceptance tests to fail for jrobotremoteserver :(
The text was updated successfully, but these errors were encountered:
Hum, but on old 0.9.1 those types worked? How odd. I have reproduced the behavior and I also have a fix, but I think I should try to understand how has this worked earlier.
If you have a keyword declared
@RobotKeyword
public void foo(Object bar) ...
bar will be null no matter what is passed in. This is because ArgumentConverter.convertToType returns null if the parameter type is not Integer, String, Double or Long.
Note also that Boolean, Byte, Short, and Float are not handled either. These are all mentioned in the Robot Framework guide, but there is no mention in the wiki for argument types.
Upgrading from 0.9.1 to 1.0.1 caused 60 acceptance tests to fail for jrobotremoteserver :(
The text was updated successfully, but these errors were encountered: