You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/03/02 07:27:00 UTC

[jira] [Commented] (OFBIZ-7471) Improve all the service level error messages for missing required field

    [ https://issues.apache.org/jira/browse/OFBIZ-7471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17048842#comment-17048842 ] 

ASF subversion and git services commented on OFBIZ-7471:
--------------------------------------------------------

Commit b678615904fe9983ae510bcb6e5672cee54ee288 in ofbiz-plugins's branch refs/heads/trunk from Suraj Khurana
[ https://gitbox.apache.org/repos/asf?p=ofbiz-plugins.git;h=b678615 ]

Improved: Added all the service level error messages for missing required field for plugins/ebay component.
(OFBIZ-7471)

Thanks Jagpreet for reporting and Anushi Gupta for the patch.


> Improve all the service level error messages for missing required field
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-7471
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7471
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>    Affects Versions: 16.11.01, Trunk
>            Reporter: Ratnesh Upadhyay
>            Assignee: Divesh Dutta
>            Priority: Major
>         Attachments: ErrorMsgReturnedByServiceEngine.png, ImprovedUFMsgs.png
>
>
> 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: 
> {code}
>     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]
> {code}
> Such error messages can be improved across the application by making it more user friendly like:
> {code}
> Required Field Missing : Address Line 1.
> Required Field Missing : City.
> Required Field Missing : Postal Code.
> {code}
> I'll review similar scenarios across the application.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)