Uploaded image for project: 'Gazelle Test Management'
  1. Gazelle Test Management
  2. GZL-4827

[System creation] Exceptions are not reported to the user

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Gazelle TM 5.10.0
    • Fix Version/s: 5.11.0
    • Component/s: System Registration
    • Labels:
      None
    • Environment:
      gazelle.ihe.net/EU-CAT
    • Account:
      Maintenance 2019 (MAINTENANCE2019)

      Description

      When you try to create a system with a name which contains the / character, you are redirected to the error page with message "Error in this Gazelle application" and no other explications.
      In the contrary, Jboss raises the following exception

      List of constraint violations:[
          ConstraintViolationImpl{interpolatedMessage='This field cannot contain letter '/' or '.', propertyPath=name, rootBeanClass=class net.ihe.gazelle.tm.systems.model.System, messageTemplate='{gazelle.validator.nameWithoutSlash}'}

      This exception shall be brought to final user's knowledge so that he understand why the system cannot be registered.
      To enhance the process, I would recommend that the exception is caught so that it is only a validation error and not a "Gazelle general" error.

        Attachments

          Activity

            People

            • Assignee:
              wbars Wylem Bars
              Reporter:
              aberge Anne-Gaelle Berge
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h

                  Potential Duplicates