Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037286Retail ModulesWeb POSpublic2017-11-13 14:222017-12-20 19:43
malsasua 
jorge-garcia 
normalmajoralways
closedfixed 
5
 
RR17Q3.2RR17Q3.2 
marvintm
Production - Confirmed Stable
2017-08-23
RR17Q3.1
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/443b0a0eb45eeca9e03efe0080f6632ad046c624 [^]
No
0037286: 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 backport 0037172RR17Q3.1 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 => RR17Q3.2
2017-11-17 10:48jorge-garciaRegression date => 2017-08-23
2017-11-17 10:48jorge-garciaRegression introduced in release => RR17Q3.1
2017-11-17 10:48jorge-garciaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/443b0a0eb45eeca9e03efe0080f6632ad046c624 [^]
2017-11-17 10:50jorge-garciaRelationship addedcaused by 0037172
2017-12-19 16:23jorge-garciaAssigned ToRetail => jorge-garcia
2017-12-19 17:15hgbotCheckin
2017-12-19 17:15hgbotNote Added: 0101140
2017-12-19 17:15hgbotStatusscheduled => resolved
2017-12-19 17:15hgbotResolutionopen => fixed
2017-12-19 17:15hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR17Q3.2/org.openbravo.retail.posterminal/rev/1f0872fd3323be6874af5863d025a061cd4a76a1 [^]
2017-12-20 19:43marvintmReview Assigned To => marvintm
2017-12-20 19:43marvintmStatusresolved => closed
2017-12-20 19:43marvintmFixed in Version => RR17Q3.2

Notes
(0101140)
hgbot   
2017-12-19 17:15   
Repository: retail/backports/3.0RR17Q3.2/org.openbravo.retail.posterminal
Changeset: 1f0872fd3323be6874af5863d025a061cd4a76a1
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Dec 19 16:44:14 2017 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR17Q3.2/org.openbravo.retail.posterminal/rev/1f0872fd3323be6874af5863d025a061cd4a76a1 [^]

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