Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-6551

Format validation message properly under QueryGenerator

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Cosmetic
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 6.12.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      EJBCA Sprint 7

      Description

      Below code is part of QueryGenerator.validate() under cesecore-common.
      There should be a space between error message and error field.

      Fix patch is attached here.

      if (!availableFields.contains(name)) {
                  throw new QueryParameterException("parameter is not valid field"
                          + name);
              }
      

        Attachments

          Activity

            People

            • Assignee:
              mikek Mike Agrenius Kushner
              Reporter:
              vinays Vinay Singh
              Verified by:
              Bastian Fredriksson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: