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

EXTRAS-17 - Improve IDL behavior for wizard items when a variable of the wrong type is passed to set_metadata #3

Open
tclarke opened this issue Mar 16, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@tclarke
Copy link
Member

tclarke commented Mar 16, 2018

When the set_metadata command is called to change the value of a wizard value item, the type of the item is derived from the value passed by the user to the set_metadata command. If the type of this value does not match the type of the value item in the wizard, the returned error message, "unable to find item in wizard file", is not very helpful to the user.

When evaluating, consider at least the following options:

  1. Add documentation to specifically enumerate the type conversions for set_metadata (this is useful because, e.g., IDL UINT maps to a C++ unsigned short and this can be confusing).
  2. Improve the error message reported to say the type of the value passed in (e.g.: "unable to find item of type in wizard file").
  3. Automatically cast the value to the appropriate type.

Original Issue: EXTRAS-17
Status: Deferred
Feature Interpretation:

Suggested Solution:

Actual Solution:

Severity:
Version Control:
Environment: All
Linked:

@tclarke tclarke added the enhancement New feature or request label Mar 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant