Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-1726

The id of a population can not contains "-" character

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.0M5
    • None
    • None
    • None

      What a pity ! Is there a good reason ?

      If yes, the invalid error message is not very clear. We should say that only alphanumeric characters and the "_" character are allowed.

          [RUNTIME-1726] The id of a population can not contains "-" character

          '-' is now allowed and is the default special character replacement

          Simon Prieul (Inactive) added a comment - '-' is now allowed and is the default special character replacement

          Simon Prieul (Inactive) added a comment - - edited

          If we want to allow the '-' character, do not forget to change the regexp client-side (EditPopulationHelper#idRegex) and server-side (UserPopulationDAO#ID_REGEX), change the id generation (all non alpha char are actually replaced by '', so can be changed to '-'), and test
          Otherwise, change the message to be more clear the message has been changed, close the issue

          Simon Prieul (Inactive) added a comment - - edited If we want to allow the '-' character, do not forget to change the regexp client-side (EditPopulationHelper# idRegex) and server-side (UserPopulationDAO# ID_REGEX), change the id generation (all non alpha char are actually replaced by ' ', so can be changed to '-'), and test Otherwise, change the message to be more clear the message has been changed, close the issue

            sprieul Simon Prieul (Inactive)
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: