Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-7471

Improve all the service level error messages for missing required field

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 16.11.01, Trunk, Upcoming Branch
    • None
    • ALL COMPONENTS
    • None

    Description

      Currently when a user submits a form with missing required fields, for instance creating a contactMech (Postal Address) from party profile screen.
      Here, in such scenarios the service engine returns missing field error message as:

          The Following Errors Occurred:
                The following required parameter is missing: [createPartyPostalAddress.city]
                The following required parameter is missing: [createPartyPostalAddress.address1]
                The following required parameter is missing: [createPartyPostalAddress.postalCode]
      

      Such error messages can be improved across the application by making it more user friendly like:

      Required Field Missing : Address Line 1.
      Required Field Missing : City.
      Required Field Missing : Postal Code.
      

      I'll review similar scenarios across the application.

      Attachments

        1. ImprovedUFMsgs.png
          116 kB
          Ratnesh Upadhyay
        2. ErrorMsgReturnedByServiceEngine.png
          121 kB
          Ratnesh Upadhyay

        Activity

          People

            surajk Suraj Khurana
            upadhyay.ratnesh Ratnesh Upadhyay
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: