Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0052613 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [POS2] Core | major | always | 2023-05-30 18:12 | 2024-04-15 13:34 | |||
| Reporter | kchoperena | View Status | public | |||||
| Assigned To | AugustoMauch | |||||||
| Priority | high | Resolution | fixed | Fixed in Version | 24Q3 | |||
| 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 | pi | SCM revision | ||||||
| Merge Request Status | approved | |||||||
| Review Assigned To | ||||||||
| OBNetwork customer | OBPS | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0052613: Login fails when there is a User Action Reason configured with SwitchToMainWindow user action | |||||||
| Description | React POS login fails when there is a "User Action Reason" configured with "SwitchToMainWindow" user action | |||||||
| Steps To Reproduce | PREREQUIREMENTS: In the backoffice, create a User Action Reason that uses "SwitchToMainWindow" User ACtion STEPS: 1.- Try to login in React POS RESULT: The login fails because of a Javascript error (see attached image) | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
Notes |
|
|
(0162991) AugustoMauch (administrator) 2024-04-09 13:41 |
InputDataDialog is rendered here: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/blob/master/web-jspack/org.openbravo.core2/src/components/App/App.jsx#L35 [^] Before that App is rendered, a user action that asks for an input is invoked. To determine: what to do in this case, probably only option will be to ignore the request for input |
|
(0163002) hgbot (developer) 2024-04-09 19:59 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1447 [^] |
|
(0163225) hgbot (developer) 2024-04-15 13:34 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^] Changeset: 5b135c0ca5019ab40d35be3699f5101afc694535 Author: Augusto Mauch <augusto.mauch@openbravo.com> Date: 15-04-2024 11:34:32 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/5b135c0ca5019ab40d35be3699f5101afc694535 [^] Fixes ISSUE-52613: Improves error management in requestInputData Now if requestInputData cannot be properly executed because inputData is not available, it will: - throw an exception if no fallbackData is provided - return fallbackData otherwise --- A web-jspack/org.openbravo.core2/src/components/InputDataDialog/__test__/requestInputData.error.test.js M web-jspack/org.openbravo.core2/src/components/InputDataDialog/InputDataDialog.jsx M web-jspack/org.openbravo.core2/src/components/StandardInputDataDialog/StandardInputDataDialog.jsx M web-jspack/org.openbravo.core2/src/core/security/requestInputAndApproval.js --- |
|
(0163226) hgbot (developer) 2024-04-15 13:34 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1447 [^] |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2023-05-30 18:12 | kchoperena | New Issue | |
| 2023-05-30 18:12 | kchoperena | Assigned To | => Triage Platform Base |
| 2023-05-30 18:12 | kchoperena | File Added: image (3).png | |
| 2023-05-30 18:12 | kchoperena | OBNetwork customer | => OBPS |
| 2023-05-30 18:12 | kchoperena | Triggers an Emergency Pack | => No |
| 2024-04-09 12:59 | AugustoMauch | Status | new => acknowledged |
| 2024-04-09 13:41 | AugustoMauch | Note Added: 0162991 | |
| 2024-04-09 13:59 | AugustoMauch | Assigned To | Triage Platform Base => AugustoMauch |
| 2024-04-09 13:59 | AugustoMauch | Status | acknowledged => scheduled |
| 2024-04-09 19:59 | hgbot | Merge Request Status | => open |
| 2024-04-09 19:59 | hgbot | Note Added: 0163002 | |
| 2024-04-15 08:44 | AugustoMauch | Status | scheduled => resolved |
| 2024-04-15 08:44 | AugustoMauch | Resolution | open => fixed |
| 2024-04-15 13:34 | hgbot | Merge Request Status | open => approved |
| 2024-04-15 13:34 | hgbot | Status | resolved => closed |
| 2024-04-15 13:34 | hgbot | Fixed in Version | => 24Q3 |
| 2024-04-15 13:34 | hgbot | Note Added: 0163225 | |
| 2024-04-15 13:34 | hgbot | Note Added: 0163226 | |
| Copyright © 2000 - 2009 MantisBT Group |