Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't add action with integer_enum parameter #238

Open
ZdenekM opened this issue May 5, 2022 · 1 comment
Open

Can't add action with integer_enum parameter #238

ZdenekM opened this issue May 5, 2022 · 1 comment
Labels
bug Something isn't working project

Comments

@ZdenekM
Copy link
Member

ZdenekM commented May 5, 2022

The default value is '"0"', but it should be '0'.

fit-demo-arserver               | 2022-05-05 14:02:11 DEBUG    RPC request: AddAction.Request(id=44, request='AddAction', args=AddAction.Request.Args(action_point_id='acp_3b00b605941a4c1fad9b579683ccc965', name='test', type='obj_794a5eb6e89147e599b94f60d5dafb8a/test', parameters=[ActionParameter(name='param', type='integer_enum', value='"0"')], flows=[Flow(type=<FlowTypes.DEFAULT: 'default'>, outputs=[])]), dry_run=False), result: AddAction.Response(id=44, response='AddAction', result=False, messages=['Parameter param of action test has invalid value. Parameter param of action test has invalid value.'])
@ZdenekM ZdenekM added bug Something isn't working project labels May 5, 2022
@ZdenekM
Copy link
Member Author

ZdenekM commented May 5, 2022

...once working on this, it might be good to also take a look on robofit/arcor2#740 in order to improve the usability of integer enums.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working project
Projects
None yet
Development

No branches or pull requests

1 participant