Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040228Retail ModulesWeb POSpublic2019-02-06 13:082019-02-18 13:36
aaroncalero 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR19Q1RR19Q1 
marvintm
Production - Confirmed Stable
2017-08-23
RR17Q2.4
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/443b0a0eb45eeca9e03efe0080f6632ad046c624 [^]
No
0040228: 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 => RR19Q1
2019-02-18 10:51hgbotCheckin
2019-02-18 10:51hgbotNote Added: 0109897
2019-02-18 10:52hgbotCheckin
2019-02-18 10:52hgbotNote Added: 0109900
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.0RR19Q1/org.openbravo.retail.posterminal/rev/8e16dbc274bf0d6885dbcbd1bce55775e8e0011e [^]
2019-02-18 13:36marvintmReview Assigned To => marvintm
2019-02-18 13:36marvintmStatusresolved => closed
2019-02-18 13:36marvintmFixed in Version => RR19Q1

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

Related to issue 40228 : Applied New Java Formatting

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

Fixed issue 40228 : 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
---