You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2013/04/20 11:57:07 UTC
svn commit: r1470139 -
/ofbiz/trunk/applications/party/entitydef/entitymodel.xml
Author: jleroux
Date: Sat Apr 20 09:57:07 2013
New Revision: 1470139
URL: http://svn.apache.org/r1470139
Log:
Fixes "Remove the relationship to PartyStatus from PartyRoleAndPartyDetail" https://issues.apache.org/jira/browse/OFBIZ-5141
Quoting Adrian in code (comment)
<!-- FIXME: This relationship does not make sense. There is no one-to-one relationship from PARTY to PARTY STATUS, so this relation will cause duplicate values for parties with multiple statuses. -->
I did not provide any paths for data migration since this is a view. Maybe some code will need to be changed in custom applications though. Should we provide a warning at https://cwiki.apache.org/confluence/display/OFBTECH/Revisions+Requiring+Data+Migration+%28upgrade+ofbiz%29 ?
Modified:
ofbiz/trunk/applications/party/entitydef/entitymodel.xml
Modified: ofbiz/trunk/applications/party/entitydef/entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/entitydef/entitymodel.xml?rev=1470139&r1=1470138&r2=1470139&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/party/entitydef/entitymodel.xml Sat Apr 20 09:57:07 2013
@@ -2506,11 +2506,6 @@ under the License.
<view-link entity-alias="PTY" rel-entity-alias="PTYGRP" rel-optional="true">
<key-map field-name="partyId"/>
</view-link>
- <!-- FIXME: This relationship does not make sense. There is no one-to-one relationship from PARTY to PARTY STATUS,
- so this relation will cause duplicate values for parties with multiple statuses. -->
- <view-link entity-alias="PTY" rel-entity-alias="PS" rel-optional="true">
- <key-map field-name="partyId"/>
- </view-link>
</view-entity>
<view-entity entity-name="PartyRoleDetailAndPartyDetail"
package-name="org.ofbiz.party.party"