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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052894
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajorhave not tried2023-06-30 08:482023-07-03 14:07
ReporterAugustoMauchView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
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

0052894: 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 ]
depends on backport 005289523Q3 closedAugustoMauch Cache refresh forced after updating environment 
caused by feature request 0052092 closedgonzalo_fernandez Store a single copy of the Terminal in IndexedDB 

-  Notes
(0151927)
hgbot (developer)
2023-06-30 09:27

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

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/562 [^]
(0152050)
hgbot (developer)
2023-07-03 14:07

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 768145f4b9dbd31dd87bcfb58efee9fdc3d71e84
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 02-07-2023 12:48:53
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/768145f4b9dbd31dd87bcfb58efee9fdc3d71e84 [^]

Fixes ISSUE-52894: 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
---

- Issue History
Date Modified Username Field Change
2023-06-30 08:48 AugustoMauch New Issue
2023-06-30 08:48 AugustoMauch Assigned To => AugustoMauch
2023-06-30 08:48 AugustoMauch Triggers an Emergency Pack => No
2023-06-30 08:48 AugustoMauch Status new => scheduled
2023-06-30 08:56 AugustoMauch Relationship added caused by 0052092
2023-06-30 09:22 AugustoMauch Summary Cache refresh forced after => Cache refresh forced after updating environment
2023-06-30 09:27 hgbot Note Added: 0151927
2023-07-03 14:07 hgbot Resolution open => fixed
2023-07-03 14:07 hgbot Status scheduled => closed
2023-07-03 14:07 hgbot Note Added: 0152049
2023-07-03 14:07 hgbot Fixed in Version => RR23Q4
2023-07-03 14:07 hgbot Note Added: 0152050


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker