svn commit: r1757968 - /ofbiz/trunk/applications/datamodel/entitydef/product-entitymodel.xml

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

svn commit: r1757968 - /ofbiz/trunk/applications/datamodel/entitydef/product-entitymodel.xml

jleroux@apache.org
Author: jleroux
Date: Sat Aug 27 08:30:39 2016
New Revision: 1757968

URL: http://svn.apache.org/viewvc?rev=1757968&view=rev
Log:
A patch from Deepak Nigam for "Warning related to 'InventoryItemAndLocation' entity on server start " https://issues.apache.org/jira/browse/OFBIZ-7986

On starting ofbiz server following error is coming at console :

2016-08-27 11:53:54,084 |delegator-startup-1 |ModelViewEntity |I| [InventoryItemAndLocation]: Throwing out field alias in view entity because one already exists with the alias name [inventoryItemTypeId] and field name [PR(Product).inventoryItemTypeId], existing field name is [II.inventoryItemTypeId] 2016-08-27 11:53:54,088 |delegator-startup-1 |ModelViewEntity |I| [ProductInventoryItem]: Throwing out field alias in view entity because one already exists with the alias name [inventoryItemTypeId] and field name [II(InventoryItem).inventoryItemTypeId], existing field name is [PR.inventoryItemTypeId]

Modified:
    ofbiz/trunk/applications/datamodel/entitydef/product-entitymodel.xml

Modified: ofbiz/trunk/applications/datamodel/entitydef/product-entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/datamodel/entitydef/product-entitymodel.xml?rev=1757968&r1=1757967&r2=1757968&view=diff
==============================================================================
--- ofbiz/trunk/applications/datamodel/entitydef/product-entitymodel.xml (original)
+++ ofbiz/trunk/applications/datamodel/entitydef/product-entitymodel.xml Sat Aug 27 08:30:39 2016
@@ -1951,6 +1951,7 @@ under the License.
       </alias-all>
       <alias-all entity-alias="PR">
         <exclude field="facilityId"/>
+        <exclude field="inventoryItemId"/>
       </alias-all>
       <alias-all entity-alias="FL"/>
       <view-link entity-alias="II" rel-entity-alias="FL" rel-optional="true">