Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040162Retail ModulesWeb POSpublic2019-02-06 13:082019-02-18 09:57
aaroncalero 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR19Q2 
marvintm
Production - Confirmed Stable
2017-08-23
RR17Q2.4
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/443b0a0eb45eeca9e03efe0080f6632ad046c624 [^]
No
0040162: 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.
related to defect 0037283 closed jorge-garcia It is not possible to do login if one product category is not active 
depends on backport 0040228RR19Q1 closed ranjith_qualiantech_com It is not possible to do login in remote mode if one product category is not active 
depends on backport 0040229RR18Q4.2 closed ranjith_qualiantech_com It is not possible to do login in remote mode if one product category is not active 
depends on backport 0040230RR18Q3.5 closed ranjith_qualiantech_com It is not possible to do login in remote mode if one product category is not active 
caused by defect 0036654 closed jorge-garcia A sanity check must be added to the login to avoid some scenarios with corrupted data 
Issue History
2019-02-06 13:08aaroncaleroNew Issue
2019-02-06 13:08aaroncaleroAssigned To => Retail
2019-02-06 13:08aaroncaleroResolution time => 1550617200
2019-02-06 13:08aaroncaleroRegression level => Production - Confirmed Stable
2019-02-06 13:08aaroncaleroRegression date => 2017-08-23
2019-02-06 13:08aaroncaleroRegression introduced in release => RR17Q2.4
2019-02-06 13:08aaroncaleroRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/443b0a0eb45eeca9e03efe0080f6632ad046c624 [^]
2019-02-06 13:08aaroncaleroTriggers an Emergency Pack => No
2019-02-06 13:09aaroncaleroRelationship addedrelated to 0037283
2019-02-06 13:09aaroncaleroRelationship addedcaused by 0036654
2019-02-08 07:20ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-02-08 07:20ranjith_qualiantech_comStatusnew => scheduled
2019-02-11 06:43hgbotCheckin
2019-02-11 06:43hgbotNote Added: 0109660
2019-02-11 06:43hgbotStatusscheduled => resolved
2019-02-11 06:43hgbotResolutionopen => fixed
2019-02-11 06:43hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/63451d02ea071b1cf7e92f516266e955030993ce [^]
2019-02-18 09:57marvintmStatusresolved => new
2019-02-18 09:57marvintmResolutionfixed => open
2019-02-18 09:57marvintmStatusnew => scheduled
2019-02-18 09:57marvintmStatusscheduled => resolved
2019-02-18 09:57marvintmFixed in Version => RR19Q2
2019-02-18 09:57marvintmResolutionopen => fixed
2019-02-18 09:57marvintmReview Assigned To => marvintm
2019-02-18 09:57marvintmStatusresolved => closed

Notes
(0109660)
hgbot   
2019-02-11 06:43   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 63451d02ea071b1cf7e92f516266e955030993ce
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Feb 11 11:12:45 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/63451d02ea071b1cf7e92f516266e955030993ce [^]

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