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 2014/10/20 13:06:59 UTC
svn commit: r1633100 -
/ofbiz/trunk/applications/content/entitydef/entitymodel.xml
Author: jleroux
Date: Mon Oct 20 11:06:59 2014
New Revision: 1633100
URL: http://svn.apache.org/r1633100
Log:
A patch from Deepak Dixit for "The updation and deletion of content meta data tab is not working.Needs a change of entity ContentMetaData." https://issues.apache.org/jira/browse/OFBIZ-4927
MetaDataValue is changed from primary key to non primary key as the value can be updated.
Modified:
ofbiz/trunk/applications/content/entitydef/entitymodel.xml
Modified: ofbiz/trunk/applications/content/entitydef/entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/entitydef/entitymodel.xml?rev=1633100&r1=1633099&r2=1633100&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/content/entitydef/entitymodel.xml Mon Oct 20 11:06:59 2014
@@ -520,7 +520,6 @@ under the License.
<field name="dataSourceId" type="id"></field>
<prim-key field="contentId"/>
<prim-key field="metaDataPredicateId"/>
- <prim-key field="metaDataValue"/>
<relation type="one" fk-name="CONTENTMD_CNTNT" rel-entity-name="Content">
<key-map field-name="contentId"/>
</relation>
@@ -893,7 +892,6 @@ under the License.
<field name="dataSourceId" type="id"></field>
<prim-key field="dataResourceId"/>
<prim-key field="metaDataPredicateId"/>
- <prim-key field="metaDataValue"/>
<relation type="one" fk-name="DATA_MD_DATREC" rel-entity-name="DataResource">
<key-map field-name="dataResourceId"/>
</relation>