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/11/15 22:23:59 UTC
svn commit: r1639923 - in /ofbiz/branches/release13.07: ./
applications/product/src/org/ofbiz/product/product/ProductServices.java
Author: jleroux
Date: Sat Nov 15 21:23:59 2014
New Revision: 1639923
URL: http://svn.apache.org/r1639923
Log:
"Applied fix from trunk for revision: 1639846"
------------------------------------------------------------------------
r1639846 | ashish | 2014-11-15 09:57:13 +0100 (sam. 15 nov. 2014) | 2 lignes
Applied patch from jira issue - OFBIZ-2567 - Entity VirtualProduct missing.
Thanks Jan Valkovic for reporting the issue, Thanks Deepak for providing the patch for the same.
------------------------------------------------------------------------
Modified:
ofbiz/branches/release13.07/ (props changed)
ofbiz/branches/release13.07/applications/product/src/org/ofbiz/product/product/ProductServices.java
Propchange: ofbiz/branches/release13.07/
------------------------------------------------------------------------------
Merged /ofbiz/trunk:r1639846
Modified: ofbiz/branches/release13.07/applications/product/src/org/ofbiz/product/product/ProductServices.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release13.07/applications/product/src/org/ofbiz/product/product/ProductServices.java?rev=1639923&r1=1639922&r2=1639923&view=diff
==============================================================================
--- ofbiz/branches/release13.07/applications/product/src/org/ofbiz/product/product/ProductServices.java (original)
+++ ofbiz/branches/release13.07/applications/product/src/org/ofbiz/product/product/ProductServices.java Sat Nov 15 21:23:59 2014
@@ -801,11 +801,11 @@ public class ProductServices {
Map<String, Object> successResult = ServiceUtil.returnSuccess();
try {
- // Generate new virtual productId, prefix with "VP", put in successResult
+ // Generate new virtual productId, put in successResult
String productId = (String) context.get("productId");
if (UtilValidate.isEmpty(productId)) {
- productId = "VP" + delegator.getNextSeqId("Product");
+ productId = delegator.getNextSeqId("Product");
// Create new virtual product...
GenericValue product = delegator.makeValue("Product");
product.set("productId", productId);