Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0057540 | POS2 | Core | public | 2024-12-27 14:58 | 2025-01-20 15:39 |
|
Reporter | AugustoMauch | |
Assigned To | AugustoMauch | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 24Q4.1 | Fixed in Version | 24Q4.1 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0057540: Sometimes it is possible to double click a button, execute an action twice in parallel |
Description | When a button associated with a user action is clicked, a scrim is rendered in the screen while the action is executed, to prevent executing an action twice in parallel.
Sometimes this mechanism does not work, and the user is able to click on a button twice before the scrim is rendered.
An additional mechanism should be added to prevent the double execution of actions when the scrim is not render in time |
Steps To Reproduce | - |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | blocks | defect | 0057538 | | closed | AugustoMauch | Sometimes it is possible to double click a button, execute an action twice in parallel |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2024-12-30 10:31 | AugustoMauch | Type | defect => backport |
2024-12-30 10:31 | AugustoMauch | Target Version | => 24Q4.1 |
2025-01-20 13:09 | hgbot | Note Added: 0174400 | |
2025-01-20 13:10 | hgbot | Note Added: 0174401 | |
2025-01-20 13:58 | hgbot | Note Added: 0174407 | |
2025-01-20 13:58 | hgbot | Note Added: 0174408 | |
2025-01-20 15:39 | hgbot | Note Added: 0174413 | |
2025-01-20 15:39 | hgbot | Note Added: 0174414 | |
2025-01-20 15:39 | hgbot | Note Added: 0174415 | |
2025-01-20 15:39 | hgbot | Resolution | open => fixed |
2025-01-20 15:39 | hgbot | Status | scheduled => closed |
2025-01-20 15:39 | hgbot | Fixed in Version | => 24Q4.1 |
2025-01-20 15:39 | hgbot | Note Added: 0174416 | |
2025-01-20 15:39 | hgbot | Note Added: 0174417 | |
2025-01-20 15:39 | hgbot | Note Added: 0174418 | |
2025-01-20 15:39 | hgbot | Note Added: 0174419 | |
2025-01-20 15:39 | hgbot | Note Added: 0174420 | |
Notes |
|
(0174400)
|
hgbot
|
2025-01-20 13:09
|
|
|
|
(0174401)
|
hgbot
|
2025-01-20 13:10
|
|
|
|
(0174407)
|
hgbot
|
2025-01-20 13:58
|
|
|
|
(0174408)
|
hgbot
|
2025-01-20 13:58
|
|
|
|
(0174413)
|
hgbot
|
2025-01-20 15:39
|
|
|
|
(0174414)
|
hgbot
|
2025-01-20 15:39
|
|
|
|
(0174415)
|
hgbot
|
2025-01-20 15:39
|
|
|
|
(0174416)
|
hgbot
|
2025-01-20 15:39
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: c3c330a95c39b794c80f0777534428dee15ca95d
Author: Augusto Mauch <a.mauch@orisha.com>
Date: 20-01-2025 15:37:57
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/c3c330a95c39b794c80f0777534428dee15ca95d [^]
Fixes ISSUE-57540: Adds an id to BaseButton, prevents two concurrent user actions of button
It prevents two concurrent user actions for the same button.
---
M web-jspack/org.openbravo.core2/src/components/BaseButton/BaseButton.jsx
M web-jspack/org.openbravo.core2/src/components/BaseDialog/__test__/BaseDialog.test.jsx
M web-jspack/org.openbravo.core2/src/components/BaseKeypad/BaseKeypad.jsx
M web-jspack/org.openbravo.core2/src/components/BasePopover/__test__/BasePopover.test.jsx
M web-jspack/org.openbravo.core2/src/components/CompanyLogo/CompanyLogo.jsx
M web-jspack/org.openbravo.core2/src/components/Scrim/UserActionScrim/__test__/UserActionScrim.test.jsx
M web-jspack/org.openbravo.core2/src/components/Scrim/UserActionScrim/stories/UserActionScrim.stories.jsx
M web-jspack/org.openbravo.core2/src/core/user-action/UserAction.js
M web-jspack/org.openbravo.core2/src/core/user-action/UserActionEvents.js
M web-jspack/org.openbravo.core2/src/core/user-action/__test__/UseUserActionInProgress.test.jsx
M web-jspack/org.openbravo.core2/src/core/user-action/__test__/UserAction.test.js
M web-jspack/org.openbravo.core2/src/core/user-action/getUserAction.js
M web-jspack/org.openbravo.core2/src/core/user-action/useUserActionInProgress.js
M web-jspack/org.openbravo.core2/src/hooks/useLockableStackOrder/__test__/useLockableStackOrder.test.jsx
M web-jspack/org.openbravo.core2/src/model/user-interface/__test__/UserActionInProgressStack.test.js
M web-jspack/org.openbravo.core2/src/model/user-interface/actions/UserActionInProgressStack.js
---
|
|
|
(0174417)
|
hgbot
|
2025-01-20 15:39
|
|
|
|
(0174418)
|
hgbot
|
2025-01-20 15:39
|
|
|
|
(0174419)
|
hgbot
|
2025-01-20 15:39
|
|
|
|
(0174420)
|
hgbot
|
2025-01-20 15:39
|
|
|