svn commit: r1744897 - /ofbiz/branches/release15.12/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: r1744897 - /ofbiz/branches/release15.12/applications/party/src/org/ofbiz/party/party/PartyServices.java

Mridul Pathak-5
Author: mridulpathak
Date: Sat May 21 10:42:14 2016
New Revision: 1744897

URL: http://svn.apache.org/viewvc?rev=1744897&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. Applying fix from trunk r1744893.

Modified:
    ofbiz/branches/release15.12/applications/party/src/org/ofbiz/party/party/PartyServices.java

Modified: ofbiz/branches/release15.12/applications/party/src/org/ofbiz/party/party/PartyServices.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release15.12/applications/party/src/org/ofbiz/party/party/PartyServices.java?rev=1744897&r1=1744896&r2=1744897&view=diff
==============================================================================
--- ofbiz/branches/release15.12/applications/party/src/org/ofbiz/party/party/PartyServices.java (original)
+++ ofbiz/branches/release15.12/applications/party/src/org/ofbiz/party/party/PartyServices.java Sat May 21 10:42:14 2016
@@ -229,7 +229,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 {