Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#255 4 commenti 0 reazioni 2 assegnatari Vedi su GitHub

@sujaygarlanka ci sta già lavorando.

Dal 17/8/2021.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug dontstale
  • [ 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

Lingua principale
JavaScript
Stelle
285
Fork
67
Merge medio
28m
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di box/boxcli

Tutte le issue di box/boxcli

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.