[
https://issues.apache.org/jira/browse/OFBIZ-7099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pranay Pandey resolved OFBIZ-7099.
----------------------------------
Resolution: Fixed
Fix Version/s: 15.12.01
Upcoming Branch
14.12.01
Thanks [~amardeepsj] for creating the issue and providing patch. Changes are committed in Trunk at r1744892, R15.12 at r1744895 and R14.12 at r1744896.
> Service entity auto not having duplicate record check when we pass single primary key
> -------------------------------------------------------------------------------------
>
> Key: OFBIZ-7099
> URL:
https://issues.apache.org/jira/browse/OFBIZ-7099> Project: OFBiz
> Issue Type: Bug
> Components: ALL COMPONENTS, framework
> Affects Versions: Release Branch 14.12, Trunk, Release Branch 15.12
> Reporter: Amardeep Singh Jhajj
> Assignee: Pranay Pandey
> Fix For: 14.12.01, Upcoming Branch, 15.12.01
>
> Attachments: OFBIZ-7099-Releases.patch, OFBIZ-7099-Screenshot.png, OFBIZ-7099-trunk.patch
>
>
> Service entity auto not having duplicate record check when we pass single primary key.
> I was working on adding Humanres/ Skill types. On adding skill type Id, I got duplicate key error as i tried to use already present skill type Id. Please find attached screenshot.
> Then I thought why "already present Id error" not returned.
> Error cause: On doing some research, i found issue in EntityAutoEngines's invokeCreate method where duplicate record check was missing for single primary key creation.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)