Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0052894 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | major | have not tried | 2023-06-30 08:48 | 2023-07-03 14:07 | |||
Reporter | AugustoMauch | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0052894: Cache refresh forced after updating environment | |||||||
Description | After 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 Reproduce | In 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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
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 |