ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OFBIZ-7099) Service entity auto not having duplicate record check when we pass single primary key
Date Sun, 22 May 2016 04:53:12 GMT

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

Jacques Le Roux updated OFBIZ-7099:
-----------------------------------
    Fix Version/s:     (was: Upcoming Branch)

> 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, 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)

Mime
View raw message