Amardeep Singh Jhajj created OFBIZ-7099:
-------------------------------------------
Summary: 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: framework
Affects Versions: Release Branch 15.12, Trunk, Release Branch 14.12
Reporter: Amardeep Singh Jhajj
Assignee: Amardeep Singh Jhajj
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)