Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052895
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[POS2] POSmajorhave not tried2023-06-30 08:482023-07-03 14:08
ReporterAugustoMauchView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version23Q3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0052895: Cache refresh forced after updating environment

DescriptionAfter upgrading an environment, installing the changes of [1], the application will show an error when trying to login until the user cleans the cache. This should not be needd.

[1] https://issues.openbravo.com/view.php?id=52092 [^]
Steps To ReproduceIn a pos2 environment (not pos2-modules, to make it easier to switch between before/after the issue 52092 is applied.

Place the environment before the project was merged:

cd ../org.openbravo.core2 && git checkout 2da4c8fd
cd ../org.openbravo.pos2 && git checkout 28c6e126f
cd ../org.openbravo.mobile.core && git checkout e0737608
cd ../org.openbravo.retail.posterminal && git checkout 259250a90

- Clear the cache
- Start the environment, check that it works properly

Update the environment to put the modules just after including the 52092 changes:

cd ../org.openbravo.core2 && git checkout be2b7bb397472c32d16993c52cddad94d1ce80f2
cd ../org.openbravo.pos2 && git checkout ef56ec499cc5b9fb85fd560aa71b442c152a8bf0
cd ../org.openbravo.mobile.core && git checkout 271308ae405e2c0ac316fcbba143022670219200
cd ../org.openbravo.retail.posterminal && git checkout ee09f381b564690bcfb52403a043659531d138

- Start the environment (do not clear the cache), try to log in. An error will be displayed
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0052894 closedAugustoMauch Cache refresh forced after updating environment 

-  Notes
(0151930)
hgbot (developer)
2023-06-30 09:33

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/563 [^]
(0152053)
hgbot (developer)
2023-07-03 14:08

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 8de7bd58d674c7e60276e0490d0d6d668ec982cc
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 30-06-2023 09:32:48
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/8de7bd58d674c7e60276e0490d0d6d668ec982cc [^]

Fixes ISSUE-52895: Prevents forced cache clean after updating IndexedDB model

The problem was that the login IndexedDB store required to be notified of a version change after introducing the new
Terminal model. If it is not modified, on an existing application, it will not try to recreate that database, resulting
in the new model not being created, but being accessed by the updated sources

---
M web/org.openbravo.mobile.core/app/model/login/OfflineSessionController.js
---
(0152054)
hgbot (developer)
2023-07-03 14:08

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/563 [^]

- Issue History
Date Modified Username Field Change
2023-06-30 08:48 AugustoMauch Type defect => backport
2023-06-30 08:48 AugustoMauch Target Version => 23Q3
2023-06-30 09:21 AugustoMauch Summary Cache refresh forced after => Cache refresh forced after updating environment
2023-06-30 09:33 hgbot Note Added: 0151930
2023-07-03 14:08 hgbot Resolution open => fixed
2023-07-03 14:08 hgbot Status scheduled => closed
2023-07-03 14:08 hgbot Fixed in Version => RR23Q3
2023-07-03 14:08 hgbot Note Added: 0152053
2023-07-03 14:08 hgbot Note Added: 0152054


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker