[ http://issues.apache.org/jira/browse/OFBIZ-547?page=comments#action_12461564 ] Anil K Patel commented on OFBIZ-547: ------------------------------------
The attached patch implements handles duplicate primary key error. Implements most common pattern for solving such problem in Ofbiz. This very small patch should not take lot of time for a commiter to review. > Duplicate Id error on Create New FixedAsset > ------------------------------------------- > > Key: OFBIZ-547 > URL: http://issues.apache.org/jira/browse/OFBIZ-547 > Project: Apache OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: accounting > Reporter: Anil K Patel > Attachments: FixedAssedIdDuplicateMessage.patch > > > While creating a New FixedAsset, if user enters FixedAssetId that already > exists in system, Unfriendly message is returned and existing fixedAsset is > opened in Edit mode. > 1) The error message should be easier to understand by user. > 2) Existing fixedAsset should not be opened in edit mode, this confuses user > with Idea that fixedAsset was created. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira