Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037285Retail ModulesWeb POSpublic2017-11-13 14:222017-12-20 19:42
malsasua 
jorge-garcia 
normalmajoralways
closedfixed 
5
 
RR17Q4RR17Q4 
marvintm
Production - Confirmed Stable
2017-08-23
main
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/443b0a0eb45eeca9e03efe0080f6632ad046c624 [^]
No
0037285: It is not possible to do login if one product category is not active
when there is one product category deactivated in the backend, the fullrefresh process is returning error in ProductCategoryTree model
in backoffice:
. go to product category window:
 . record: ski -> active=N

in POS:
. do login
Error is returned:

The Master Data loading process has encountered an error. The following model(s) could not be loaded: ProductCategoryTree. Please check you internet connection and click reload to refresh the page. If the problem persists please contact your System Administrator.
No tags attached.
caused by defect 0036654 closed jorge-garcia A sanity check must be added to the login to avoid some scenarios with corrupted data 
blocks defect 0037283 closed jorge-garcia It is not possible to do login if one product category is not active 
Issue History
2017-11-14 10:40jorge-garciaTypedefect => backport
2017-11-14 10:40jorge-garciaTarget Version => RR17Q4
2017-11-17 10:46jorge-garciaRegression date => 2017-08-23
2017-11-17 10:46jorge-garciaRegression introduced in release => main
2017-11-17 10:46jorge-garciaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/443b0a0eb45eeca9e03efe0080f6632ad046c624 [^]
2017-11-17 10:50jorge-garciaRelationship addedcaused by 0036654
2017-12-19 16:24jorge-garciaAssigned ToRetail => jorge-garcia
2017-12-19 17:16hgbotCheckin
2017-12-19 17:16hgbotNote Added: 0101142
2017-12-19 17:16hgbotStatusscheduled => resolved
2017-12-19 17:16hgbotResolutionopen => fixed
2017-12-19 17:16hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR17Q4/org.openbravo.retail.posterminal/rev/fff0263ec9b088b34bfb0a5311c8d2e4524349b0 [^]
2017-12-20 19:42marvintmReview Assigned To => marvintm
2017-12-20 19:42marvintmStatusresolved => closed
2017-12-20 19:42marvintmFixed in Version => RR17Q4

Notes
(0101142)
hgbot   
2017-12-19 17:16   
Repository: retail/backports/3.0RR17Q4/org.openbravo.retail.posterminal
Changeset: fff0263ec9b088b34bfb0a5311c8d2e4524349b0
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Dec 19 16:36:39 2017 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR17Q4/org.openbravo.retail.posterminal/rev/fff0263ec9b088b34bfb0a5311c8d2e4524349b0 [^]

Fixed issue 37285: It is not possible to do login if one product category
is not active

With the new sanity check for masterdata models it’s necessary to not
load records deactivated during a full refresh.

During a incremental refresh, it’s necessary to recover the status of
category tree if needed.

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