[ http://issues.apache.org/jira/browse/OFBIZ-547?page=comments#action_12461571 ] Chris Howe commented on OFBIZ-547: ----------------------------------
cleaning cache wouldn't solve the problem as even the next 10 may be duplicates as well. Looping would solve the problem. However, this may be better addressed in the method underlying sequenced-id-to-env in the minilang java files. And looping until a good one is found may be performance intensive. If we could get some feedback from some others and they agree on solving it through the minilang java, that would be a new issue. > 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
