#6149 Spaces for select custom fields [ss3708]

v1.0.0
closed
nobody
General
2015-08-20
2013-04-22
Chris Tsai
No

[forge:site-support:#3708]

Select custom fields (which the classic "Category" is migrated to), should have a way to have spaces for the values.

Currently, if you try something like:

{{{
"multi word selection"
}}}

It turns into three selections:

  1. "multi
  2. word
  3. selection"

Related

Tickets: #6149

Discussion

  • Chris Tsai - 2013-04-22
    • labels: --> support, p3
     
  • Dave Brondsema

    Dave Brondsema - 2013-05-01
    • labels: support, p3 --> support, p3, 42cc
    • Milestone: limbo --> forge-backlog
     
  • Dave Brondsema

    Dave Brondsema - 2013-05-01

    Idea: allow quotes and parse with shlex.split. Changing the schema into a proper list (instead of a string) would be a more formal approach but seems like that would require quite a bit of change, especially in the UI.

     
  • Igor Bondarenko - 2013-05-02

    Created #341: [#6149] Spaces for select custom fields (1cp)

     

    Related

    Tickets: #6149

  • Igor Bondarenko - 2013-05-02
    • status: open --> in-progress
     
  • Igor Bondarenko - 2013-05-15

    Closed #341. je/42cc_6149

     
  • Igor Bondarenko - 2013-05-15
    • status: in-progress --> code-review
     
  • Dave Brondsema

    Dave Brondsema - 2013-05-15
    • QA: Dave Brondsema
     
  • Dave Brondsema

    Dave Brondsema - 2013-05-15
    • status: code-review --> in-progress
     
  • Dave Brondsema

    Dave Brondsema - 2013-05-15

    I merged this (plus a commit to update the contextual help a bit), but shortly after that noticed that errors aren't handled well. If an options string like foo "bar baz has mismatched quotes, then you get an error when viewing any ticket. Please add error handling and a test for that. It could do something simple like falling back to a regular string split (adding a " at the end isn't good enough since single quotes can be used too)

     
  • Igor Bondarenko - 2013-05-16

    Created #356: [#6149] Followup to #341 (1cp)

     

    Related

    Tickets: #6149

  • Dave Brondsema

    Dave Brondsema - 2013-05-16

    Another error to fix or handle. Given these options:

    Billet-ouvert Validation Validé Analyse Approuvé-par-le-client Développement Développé-et-testé V&V "Approuvé-à-l'interne" En-revue-par-le-client Résultat-accepté-par-le-client Acctivités-complétées En-production Billet-fermé
    

    I get this error:

     UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 30: ordinal not in range(128)
    
     
  • Igor Bondarenko - 2013-05-20
    • status: in-progress --> code-review
     
  • Igor Bondarenko - 2013-05-20

    Closed #356. je/42cc_6149_fix

     
  • Dave Brondsema

    Dave Brondsema - 2013-05-20
    • status: code-review --> closed
     

Log in to post a comment.