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

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

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

Mridul Pathak-5
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 {