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

Improve all the service level error messages for missing required field

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 16.11.01, Trunk
    • Fix Version/s: None
    • Component/s: ALL COMPONENTS
    • Labels:
      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.
        OFBIZ-7471: Improve all the service level error messages for missing required field for party component Sub-task Closed Suraj Khurana Actions
        2.
        OFBIZ-7471: Improve all the service level error messages for missing required field for order component Sub-task Closed Suraj Khurana Actions
        3.
        OFBIZ-7471: Improve all the service level error messages for missing required field for accounting component Sub-task In Progress Pallavi Goyal Actions
        4.
        OFBIZ-7471: Improve all the service level error messages for missing required field for workeffort component Sub-task Closed Arun Patidar Actions
        5.
        OFBIZ-7471: Improve all the service level error messages for missing required field for catalog component Sub-task Closed Suraj Khurana Actions
        6.
        OFBIZ-7471: Improve all the service level error messages for missing required field for content component Sub-task Closed Ashish Vijaywargiya Actions
        7.
        OFBIZ-7471: Improve all the service level error messages for missing required field for facility component Sub-task Closed Ashish Vijaywargiya Actions
        8.
        OFBIZ-7471: Improve all the service level error messages for missing required field for workeffort component Sub-task Closed Devanshu Vyas Actions
        9.
        Improve all the service level error messages for missing required field for humanares component Sub-task Closed Suraj Khurana Actions
        10.
        Improve all the service level error messages for missing required field for webtools component Sub-task Closed Suraj Khurana Actions
        11.
        OFBIZ-7471: Improve all the service level error messages for missing required field for plugins/ebay component Sub-task Closed Suraj Khurana Actions

          Activity

            People

            • Assignee:
              surajk Suraj Khurana
              Reporter:
              upadhyay.ratnesh Ratnesh Upadhyay

              Dates

              • Created:
                Updated:

                Issue deployment