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 2009/11/27 08:49:06 UTC

svn commit: r884763 - /ofbiz/branches/release09.04/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductInventoryItems.groovy

Author: jleroux
Date: Fri Nov 27 07:49:04 2009
New Revision: 884763

URL: http://svn.apache.org/viewvc?rev=884763&view=rev
Log:
Fix a bug related to r884761 and OFBIZ-3265

Modified:
    ofbiz/branches/release09.04/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductInventoryItems.groovy

Modified: ofbiz/branches/release09.04/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductInventoryItems.groovy
URL: http://svn.apache.org/viewvc/ofbiz/branches/release09.04/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductInventoryItems.groovy?rev=884763&r1=884762&r2=884763&view=diff
==============================================================================
--- ofbiz/branches/release09.04/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductInventoryItems.groovy (original)
+++ ofbiz/branches/release09.04/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductInventoryItems.groovy Fri Nov 27 07:49:04 2009
@@ -21,7 +21,7 @@
 import org.ofbiz.product.inventory.InventoryWorker
 
 //If product is virtual gather summary data from variants
-if (product.isVirtual && "Y".equals(product.isVirtual)) {
+if (product && product.isVirtual && "Y".equals(product.isVirtual)) {
     //Get the virtual product feature types
     result = dispatcher.runSync("getProductFeaturesByType", [productId : productId, productFeatureApplTypeId : 'SELECTABLE_FEATURE']);
     featureTypeIds = result.productFeatureTypes;



Re: svn commit: r884763 - /ofbiz/branches/release09.04/applications/product/webapp/catalog/WEB-INF/actions/product/EditProductInventoryItems.groovy

Posted by Adam Heath <do...@brainfood.com>.
jleroux@apache.org wrote:
> Author: jleroux
> Date: Fri Nov 27 07:49:04 2009
> New Revision: 884763
> 
> URL: http://svn.apache.org/viewvc?rev=884763&view=rev
> Log:
> Fix a bug related to r884761 and OFBIZ-3265

And what is that bug?

ps: this is a bad changelog entry.