You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Amardeep Singh Jhajj (JIRA)" <ji...@apache.org> on 2016/05/21 07:49:12 UTC

[jira] [Updated] (OFBIZ-7099) Service entity auto not having duplicate record check when we pass single primary key

     [ https://issues.apache.org/jira/browse/OFBIZ-7099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amardeep Singh Jhajj updated OFBIZ-7099:
----------------------------------------
    Attachment: OFBIZ-7099-Screenshot.png

> 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 14.12, Trunk, Release Branch 15.12
>            Reporter: Amardeep Singh Jhajj
>            Assignee: Amardeep Singh Jhajj
>         Attachments: OFBIZ-7099-Screenshot.png
>
>
> 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)