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

Metadata Template Update: Unable to add multiple option values to enum #255

Open
jacquesvandermerwe opened this issue Aug 17, 2021 · 4 comments
Assignees
Labels
bug dontstale For stalebot to keep the issue open

Comments

@jacquesvandermerwe
Copy link

  • [ X] I have checked that the SDK documentation doesn't solve my issue.
  • [ X] I have checked that the API documentation doesn't solve my issue.
  • [ X] I have searched the Box Developer Forums and my issue isn't already reported (or if it has been reported, I have attached a link to it, for reference).
  • [ X] I have searched Issues in this repo and my issue isn't already reported.

Description of the Issue

Box CLI Command for adding enum options to the a metadata template doesn't allow multiple options params. In the documentation help it states.

  $ box metadata-templates:update TEMPLATEKEY
  --add-enum-option=add-enum-option                  Add an enum option to the specified field; must be followed by one or more --option flags

If I however submit this command:
box metadata-templates:update <template_key> --add-enum-option=<field_key> --option=<Value 1> --option=<Value 2> --option=<Value 3>
then only Value 3 will be added and Value 1, Value 2 will be ignored.

Steps to Reproduce

Execute command above on a single dropdown field

Expected Behavior

All the options should be added as per the help message.

Error Message, Including Stack Trace

NA

Screenshots

Versions Used

Box CLI: 2.9
Operating System: macOS Big Sure 11.5.2

@stale
Copy link

stale bot commented Aug 2, 2022

This issue has been automatically marked as stale because it has not been updated in the last 30 days. It will be closed if no further activity occurs within the next 7 days. Feel free to reach out or mention Box SDK team member for further help and resources if they are needed.

@stale stale bot added the stale label Aug 2, 2022
@stale
Copy link

stale bot commented Aug 9, 2022

This issue has been automatically closed due to maximum period of being stale. Thank you for your contribution to Box CLI and feel free to open another PR/issue at any time.

@stale stale bot closed this as completed Aug 9, 2022
@mgrytsai mgrytsai reopened this Aug 10, 2022
@mgrytsai mgrytsai removed the stale label Aug 10, 2022
@stale
Copy link

stale bot commented Sep 9, 2022

This issue has been automatically marked as stale because it has not been updated in the last 30 days. It will be closed if no further activity occurs within the next 7 days. Feel free to reach out or mention Box SDK team member for further help and resources if they are needed.

@stale stale bot added the stale label Sep 9, 2022
@stale
Copy link

stale bot commented Sep 17, 2022

This issue has been automatically closed due to maximum period of being stale. Thank you for your contribution to Box CLI and feel free to open another PR/issue at any time.

@stale stale bot closed this as completed Sep 17, 2022
@mgrytsai mgrytsai added the dontstale For stalebot to keep the issue open label Sep 19, 2022
@mgrytsai mgrytsai reopened this Sep 19, 2022
@stale stale bot removed the stale label Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug dontstale For stalebot to keep the issue open
Projects
None yet
Development

No branches or pull requests

4 participants