Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034310Retail ModulesWeb POSpublic2016-10-27 09:092016-11-21 13:38
jonibc 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
 
migueldejuana
No
0034310: Customer Loader check for organization launch JSONException
When customer loader is checking for organization, it checks the following condition:
if (!jsonCustomer.has("organization") && jsonCustomer.getString("organization").equals("null"))
Modify the request sent to the WebPOS and delete organization property.
    if (!jsonCustomer.has("organization") || jsonCustomer.getString("organization").equals("null")) {
      String errorMessage = "Business partner organization is a mandatory field to create a new customer from Web Pos";
      log.error(errorMessage);
      throw new OBException(errorMessage, null);
    }
No tags attached.
Issue History
2016-10-27 09:09jonibcNew Issue
2016-10-27 09:09jonibcAssigned To => Retail
2016-10-27 09:09jonibcTriggers an Emergency Pack => No
2016-11-01 10:37ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2016-11-01 10:37ranjith_qualiantech_comStatusnew => scheduled
2016-11-02 05:49hgbotCheckin
2016-11-02 05:49hgbotNote Added: 0091048
2016-11-02 05:49hgbotStatusscheduled => resolved
2016-11-02 05:49hgbotResolutionopen => fixed
2016-11-02 05:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/17ddee4571c87d990070c4059f948351596206d6 [^]
2016-11-21 13:32migueldejuanaReview Assigned To => migueldejuana
2016-11-21 13:38migueldejuanaNote Added: 0091696
2016-11-21 13:38migueldejuanaStatusresolved => closed

Notes
(0091048)
hgbot   
2016-11-02 05:49   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 17ddee4571c87d990070c4059f948351596206d6
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Nov 02 10:16:54 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/17ddee4571c87d990070c4059f948351596206d6 [^]

Fixes issue 34310 : Validate Customer Fields attributes while saving in backend

---
M src/org/openbravo/retail/posterminal/CustomerLoader.java
---
(0091696)
migueldejuana   
2016-11-21 13:38   
Tested and reviewed