Uploaded image for project: 'Survey'
  1. Survey
  2. SURVEY-26

Unable to create a list of choice with numerical values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.0.0
    • None
    • None
    • None

      • Create a question of list of choices
      • Create a list of chhoice with numerical value (ex: 1, 2, 3, ...)
      • Clic "Ok"
      Category:	sitemap
      Message:		Can not dispatch request '2' : 'survey' '/survey/add-question' '{id=, pageId=survey-page://4f275855-247e-4a0c-ba24-ed3296335bcb, label=Question, title=Notez votre satisfaction globale de 1 (très satisfait) à 5 (pas du tout satisfait), mandatory=false, options=1
      2
      3
      4
      5, type=SINGLE_CHOICE}'
      
      Caused by: java.lang.IllegalArgumentException: 1 doest not match the expected regular expression : ^([0-9-_]*)[a-z].*$
      	at org.ametys.cms.FilterNameHelper.filterName(FilterNameHelper.java:58)
      	at org.ametys.plugins.survey.actions.AddQuestionAction.act(AddQuestionAction.java:82)
      

            laurence Laurence Aumeunier
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: