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

Raise a proper error message if the filename for SaveAs does contain the .rtd extension #552

Open
peterjamesnugent opened this issue Dec 4, 2024 · 0 comments
Labels
type:bug Error or unexpected behaviour

Comments

@peterjamesnugent
Copy link
Member

Description:

When using the SaveAs command with an Exectute component - if the filename does contain the .rtd extension is produces the following error:

  1. This component failed to run properly.
  • Error: Error HRESULT E_FAIL has been returned from a call to a COM component.
  • Occured in BH.Adapter.Robot.RobotAdapter.RunCommand(SaveAs command)
    called from BH.Adapter.Robot.RobotAdapter.Execute(IExecuteCommand command, ActionConfig actionConfig)
  • Are you sure you have the correct type of inputs? Check their description for more details.

Steps to reproduce:

See above.

Expected behaviour:

The adapter should raise an error instructing the user to provide a filepath with the correct extension.

Test file(s):

@peterjamesnugent peterjamesnugent added the type:bug Error or unexpected behaviour label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Error or unexpected behaviour
Projects
None yet
Development

No branches or pull requests

1 participant