Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-9723

Wrong error message in frontend when resource whitelist pattern validation fails

    XMLWordPrintable

    Details

      Description

      // given
      use the default resource whitelist pattern

      // when
      I add a new user with special characters in the user id

      // then
      I see the following error message

      Webapp Error Message:

      Failed to create user. Check if it already exists.
      

      Serverlog:

      User has an invalid id: 'hans#' is not a valid resource identifier.: org.camunda.bpm.engine.ProcessEngineException: User has an invalid id: 'hans#' is not a valid resource identifier.
      

      // expected behavior
      error message in the frontend should reflect the correct error cause: ID validation fails.

        Attachments

          Activity

            People

            Assignee:
            michael.schoettes Michael Schoettes
            Reporter:
            michael.schoettes Michael Schoettes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: