Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037755Retail ModulesWeb POSpublic2018-01-10 19:152018-02-14 12:52
umartirena 
jorge-garcia 
urgentminoralways
closedfixed 
5
 
RR18Q1RR18Q1 
marvintm
No
0037755: Javascript error in raised when searching form Business Partners being offline and in Remote mode for Business Partners
Javascript error in raised when searching form Business Partners being offline and in Remote mode for Business Partners
In http://livebuilds.openbravo.com/retail_pi_pgsql: [^] [^]
 * Go to Preference window and create a new preference:
   - "Enable Remote for Customer"
   - Value = Y
   - Selected = Y

Logout and login in http://livebuilds.openbravo.com/retail_pi_pgsql [^] [^]
 * Disconnect network to go offline
 * Click on Business Partner button
 * Click on magnifying glass button
 * Check that a javascript error is raised. See the screenshot attached
This action should return the appropriate message
No tags attached.
blocks defect 0037614 closed jorge-garcia Javascript error in raised when searching form Business Partners being offline and in Remote mode for Business Partners 
Issue History
2018-01-29 18:17migueldejuanaTypedefect => backport
2018-01-29 18:17migueldejuanaTarget Version => RR18Q1
2018-02-13 18:58hgbotCheckin
2018-02-13 18:58hgbotNote Added: 0102378
2018-02-13 18:58hgbotStatusscheduled => resolved
2018-02-13 18:58hgbotResolutionopen => fixed
2018-02-13 18:58hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c3fcdf98b726b86713c507e447187822a8e05d72 [^] => http://code.openbravo.com/retail/backports/3.0RR18Q1/org.openbravo.retail.posterminal/rev/21e0caea89b1c47a7bb2db4573d87355ccaf5358 [^]
2018-02-14 12:52marvintmReview Assigned Tomigueldejuana => marvintm
2018-02-14 12:52marvintmStatusresolved => closed
2018-02-14 12:52marvintmFixed in Version => RR18Q1

Notes
(0102378)
hgbot   
2018-02-13 18:58   
Repository: retail/backports/3.0RR18Q1/org.openbravo.retail.posterminal
Changeset: 21e0caea89b1c47a7bb2db4573d87355ccaf5358
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Jan 16 11:02:50 2018 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR18Q1/org.openbravo.retail.posterminal/rev/21e0caea89b1c47a7bb2db4573d87355ccaf5358 [^]

Fixed issue 37755: Javascript error in raised when searching form Business
Partners being offline and in Remote mode for Business Partners

The solution is to generate a error message string in the callback error
function in case it does not exist already.

---
M web/org.openbravo.retail.posterminal/js/components/businesspartner_selector.js
M web/org.openbravo.retail.posterminal/js/components/modalorderselector.js
---