Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040229Retail ModulesWeb POSpublic2019-02-06 13:082019-02-18 13:35
aaroncalero 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR18Q4.2RR18Q4.2 
marvintm
Production - Confirmed Stable
2017-08-23
RR17Q2.4
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/443b0a0eb45eeca9e03efe0080f6632ad046c624 [^]
No
0040229: It is not possible to do login in remote mode if one product category is not active
When there is one product category deactivated in the backend, and the Remote Mode For Products is enabled, the fullrefresh process is returning an error in ProductCategory model.
Login in backend and configure the Enable Remote for Product preference.
Go to the category window and disable a category used in Web POS (i.e. Backpacks & Travel)

Try to login in webpos.
A Master Data Loading Error popup will be shown with the error message:
[...] The following model(s) could not be loaded: ProductCategory. [...]
The ProductCategory model uses different queries depending on the Enable Remote for Product preference.
With issue 0037283 only the non-remote query was fixed.

It is needed to add the fullRefreshCondition also to the remote query.
No tags attached.
blocks defect 0040162 closed ranjith_qualiantech_com It is not possible to do login in remote mode if one product category is not active 
Issue History
2019-02-18 09:57marvintmTypedefect => backport
2019-02-18 09:57marvintmTarget Version => RR18Q4.2
2019-02-18 10:51hgbotCheckin
2019-02-18 10:51hgbotNote Added: 0109898
2019-02-18 10:52hgbotCheckin
2019-02-18 10:52hgbotNote Added: 0109901
2019-02-18 10:52hgbotStatusscheduled => resolved
2019-02-18 10:52hgbotResolutionopen => fixed
2019-02-18 10:52hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/63451d02ea071b1cf7e92f516266e955030993ce [^] => http://code.openbravo.com/retail/backports/3.0RR18Q4.2/org.openbravo.retail.posterminal/rev/888209f8708a3e205c276a1b9b8cdc8b5fbdfc77 [^]
2019-02-18 13:35marvintmReview Assigned To => marvintm
2019-02-18 13:35marvintmStatusresolved => closed
2019-02-18 13:35marvintmFixed in Version => RR18Q4.2

Notes
(0109898)
hgbot   
2019-02-18 10:51   
Repository: retail/backports/3.0RR18Q4.2/org.openbravo.retail.posterminal
Changeset: d781c30af1d36e72491ca3dcad93ed3b16392a2b
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Feb 18 15:21:16 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR18Q4.2/org.openbravo.retail.posterminal/rev/d781c30af1d36e72491ca3dcad93ed3b16392a2b [^]

Related to issue 40229 : Applied New Java Formatting

---
M src/org/openbravo/retail/posterminal/master/Category.java
M src/org/openbravo/retail/posterminal/master/CategoryTree.java
---
(0109901)
hgbot   
2019-02-18 10:52   
Repository: retail/backports/3.0RR18Q4.2/org.openbravo.retail.posterminal
Changeset: 888209f8708a3e205c276a1b9b8cdc8b5fbdfc77
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Feb 18 15:22:22 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR18Q4.2/org.openbravo.retail.posterminal/rev/888209f8708a3e205c276a1b9b8cdc8b5fbdfc77 [^]

Fixed issue 40229 : Updated Product Category Query to support incrementalUpdateCriteria

* Updated Product Category and Category Tree Query to support incrementalUpdateCriteria in both normal and full refresh mode

---
M src/org/openbravo/retail/posterminal/master/Category.java
M src/org/openbravo/retail/posterminal/master/CategoryTree.java
---