[jira] [Commented] (OFBIZ-8323) can enter empty content for product facility

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-8323) can enter empty content for product facility

Nicolas Malin (Jira)

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

Lalit Dashora commented on OFBIZ-8323:
--------------------------------------

Hello @Wai [~priya.sharma]

This is a Generic Issue with EntityAutoEngine in which success message is appended to result after invoking create, update, delete, expire methods. Due to this, the success message is always appended to the result even if the create, update, delete, expire methods are returning error.

Now Added a conditional check that if the method (create, update, delete, expire) is returning success then only it will append success message to the result.

Please find the attached patch with the proper fix.

Tagging [~rohit.koushal] [~deepak.dixit]

> can enter empty content for product facility
> --------------------------------------------
>
>                 Key: OFBIZ-8323
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-8323
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: Trunk
>            Reporter: Wai
>            Assignee: Lalit Dashora
>         Attachments: OFBIZ-8323.patch
>
>
> -go to https://localhost:8443/catalog/control/EditProductFacilities?productId=WG-9943
> -click on add button.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)