Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0048884 | Retail Modules | Web POS | public | 2022-03-23 19:06 | 2022-04-17 21:24 | |||||||
Reporter | sofidossant | |||||||||||
Assigned To | meriem_azaf | |||||||||||
Priority | high | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | RR20Q3 | |||||||||||
Target Version | Fixed in Version | RR22Q3 | ||||||||||
Merge Request Status | approved | |||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | Gold | |||||||||||
Support ticket | 39665 | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | RR20Q3 | |||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0048884: Full Refresh generated in deploy without changes or model insertion in webPOS | |||||||||||
Description | If a model has changed, a frontend hash is stored from the list of properties of which the model is a part. In 20Q3, in the case of TaxCategory, in TaxCategory.java (the Taxes query), this was done: @Override public List<String> getMasterDataModelProperties() { return getPropertiesFrom(org.openbravo.model.financialmgmt.tax.TaxCategory.class); } In this function, the properties of the TaxCategory entity are returned. This includes the list-like properties that are generated for the "child" models that are marked with IS_CHILD_PROPERTY_IN_PARENT="Y". When changes are added that are not related to webPOS models, but are children to models that use webPOS, it changes the hash and generates a full refresh on the terminals. This can happen with various models: discount, taxcategory, taxcategorybom, productservicelinked and more. | |||||||||||
Steps To Reproduce | - Open the terminal. - Create a new child table of TaxCategory. - Deploy. - A full refresh will be generated in the terminal | |||||||||||
Proposed Solution | Change the following function to ignore child properties protected static List<String> getPropertiesFrom(Class<?> entityClass) { Class MasterDataProcessHQLQuery | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2022-03-23 19:06 | sofidossant | New Issue | ||||||||||
2022-03-23 19:06 | sofidossant | Assigned To | => AugustoMauch | |||||||||
2022-03-23 19:06 | sofidossant | OBNetwork customer | => Gold | |||||||||
2022-03-23 19:06 | sofidossant | Support ticket | => 39665 | |||||||||
2022-03-23 19:06 | sofidossant | Regression introduced in release | => RR20Q3 | |||||||||
2022-03-23 19:06 | sofidossant | Triggers an Emergency Pack | => No | |||||||||
2022-03-24 00:23 | AugustoMauch | Note Added: 0135986 | ||||||||||
2022-03-24 00:23 | AugustoMauch | Assigned To | AugustoMauch => sofidossant | |||||||||
2022-03-24 00:23 | AugustoMauch | Status | new => feedback | |||||||||
2022-03-24 07:22 | marvintm | Note Added: 0135988 | ||||||||||
2022-03-24 11:34 | sofidossant | Status | feedback => new | |||||||||
2022-03-24 11:34 | sofidossant | Description Updated | bug_revision_view_page.php?rev_id=23809#r23809 | |||||||||
2022-03-24 11:35 | sofidossant | Assigned To | sofidossant => AugustoMauch | |||||||||
2022-03-31 11:21 | AugustoMauch | Relationship added | related to 0048939 | |||||||||
2022-03-31 16:46 | AugustoMauch | Assigned To | AugustoMauch => meriem_azaf | |||||||||
2022-03-31 16:46 | AugustoMauch | Status | new => scheduled | |||||||||
2022-04-06 12:46 | hgbot | Merge Request Status | => open | |||||||||
2022-04-06 12:46 | hgbot | Note Added: 0136354 | ||||||||||
2022-04-17 21:23 | hgbot | Merge Request Status | open => approved | |||||||||
2022-04-17 21:24 | hgbot | Resolution | open => fixed | |||||||||
2022-04-17 21:24 | hgbot | Status | scheduled => closed | |||||||||
2022-04-17 21:24 | hgbot | Fixed in Version | => RR22Q3 | |||||||||
2022-04-17 21:24 | hgbot | Note Added: 0136541 | ||||||||||
2022-04-17 21:24 | hgbot | Note Added: 0136542 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|