You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mr...@apache.org on 2016/05/21 10:36:57 UTC

svn commit: r1744893 - /ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java

Author: mridulpathak
Date: Sat May 21 10:36:57 2016
New Revision: 1744893

URL: http://svn.apache.org/viewvc?rev=1744893&view=rev
Log:
[OFBIZ-7098] Remove restriction of setting PARTY_ENABLED as first default status of party. Thanks Suraj Khurana for reporting the issue and providing the patch.

Modified:
    ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java

Modified: ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java?rev=1744893&r1=1744892&r2=1744893&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java (original)
+++ ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java Sat May 21 10:36:57 2016
@@ -228,7 +228,7 @@ public class PartyServices {
             if (!statusId.equals(oldStatusId)) {
 
                 if (oldStatusId == null) { // old records
-                    party.set("statusId", "PARTY_ENABLED");
+                    party.set("statusId", statusId);
                     oldStatusId = party.getString("statusId");
                 } else {