Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0049543 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | critical | have not tried | 2022-06-13 17:29 | 2022-06-13 23:54 | |||
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 | 0049543: Error thrown after doing a relogin, caused by a bad management of the AvailableProductFilterRegistry | |||||||
Description | The AvailableProductFilterRegistry is a registry where we can enter buttons that will be available in the product search window. The registry throws an error if two entries of the same type are registered. The problem is that because we register the entries when a user logs in and we don't ever reset the registry, the second time a user logs in the entries registered in the first login will be registered again, causing the error | |||||||
Steps To Reproduce | In any react pos environment, in development mode: - Login - Logout - Login again. An error will be thrown (see attached image) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0138318) hgbot (developer) 2022-06-13 17:38 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1000 [^] |
(0138326) hgbot (developer) 2022-06-13 23:54 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^] Changeset: af16f32f8b295ded4144428e38af33b5c370566e Author: Cristian Berner <cristian.berner@openbravo.com> Date: 13-06-2022 23:48:57 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/af16f32f8b295ded4144428e38af33b5c370566e [^] Fixes ISSUE-49543: Reset AvailableProductFilterRegistry on login Because AvailableProductFilterRegistry entries are added on login, we need to reset it before in order to prevent errors due to the registration of already registered entries --- M web-jspack/org.openbravo.pos2/src/authentication/loginInitActions.js M web-jspack/org.openbravo.pos2/src/ob-init.js --- |
(0138327) hgbot (developer) 2022-06-13 23:54 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1000 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2022-06-13 17:29 | AugustoMauch | New Issue | |
2022-06-13 17:29 | AugustoMauch | Assigned To | => Retail |
2022-06-13 17:29 | AugustoMauch | Triggers an Emergency Pack | => No |
2022-06-13 17:29 | AugustoMauch | Assigned To | Retail => AugustoMauch |
2022-06-13 17:29 | AugustoMauch | Status | new => scheduled |
2022-06-13 17:38 | hgbot | Note Added: 0138318 | |
2022-06-13 23:54 | hgbot | Resolution | open => fixed |
2022-06-13 23:54 | hgbot | Status | scheduled => closed |
2022-06-13 23:54 | hgbot | Note Added: 0138326 | |
2022-06-13 23:54 | hgbot | Note Added: 0138327 | |
2022-06-27 16:31 | AugustoMauch | Relationship added | has duplicate 0049552 |
Copyright © 2000 - 2009 MantisBT Group |