[jira] [Commented] (OFBIZ-11474) duplicate fk-name "PROD_PRCDE_PCD".

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-11474) duplicate fk-name "PROD_PRCDE_PCD".

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-11474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17065448#comment-17065448 ]

ASF subversion and git services commented on OFBIZ-11474:
---------------------------------------------------------

Commit dc68ac089faf9bec36ff06bde812fb7ba1f083a4 in ofbiz-framework's branch refs/heads/trunk from Pierre Smits
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=dc68ac0 ]

Fixed: DataModel - correct foreign key (#51)

(OFBIZ-11474)

Renaming foreign key to PROD_PRCDE_OPCD

> duplicate fk-name "PROD_PRCDE_PCD".
> -----------------------------------
>
>                 Key: OFBIZ-11474
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11474
>             Project: OFBiz
>          Issue Type: Bug
>          Components: datamodel
>    Affects Versions: Trunk
>            Reporter: Pierre Smits
>            Assignee: Pierre Smits
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> With commit 91673f1 (OFBIZ-5426)  a new entity was implemented and another was renamed. However, both have the same foreign key. And the foreign key of the renamed entity should have been renamed to. This didn't happen, leading to:
> {code:java}
> 2020-03-24 09:13:16,004 |delegator-startup-1  |GenericDelegator              |W| [RelationFkDuplicate] Relation to ProductPromoCode from entity ProdPromoCodeContactMech has a duplicate fk-name "PROD_PRCDE_PCD".
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)