Uploaded image for project: 'AdMaxLocal'
  1. AdMaxLocal
  2. AML-4026

Quote Name validation error can be more specific

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a Bug
    • Affects Version/s: Apollo
    • Fix Version/s: Apollo
    • Component/s: API
    • Labels:
      None
    • Environment:

      QA2

      SAPI API: aml-sapi-2.9.0-BETA10.war
      Deployment API: deployment-api-secure-1.0.0-20160202.200554-61.war

      Description

      When the Quote name filed violates the validation rule then the message does not contain field name in it.

      Steps to reproduce.

      Step 1: Create a merchant.
      Step 2: Deploy the request where Quote name has greater than 64 characters.
      Test data "The Quote name is so long that it violates the validation rule of the Quote name field."

      Expected behavior:
      Message should contain Quote.
      "Quote name should be less than or equal to 64 characters."

      Actual behavior:
      "Name should be less than or equal to 64 characters."

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              anil.kumar Anil Kumar Halmadgi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: