Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0052321 | POS2 | Core | public | 2023-04-20 14:32 | 2023-06-05 10:39 |
|
Reporter | javierRodriguez | |
Assigned To | meriem_azaf | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 23Q2.1 | Fixed in Version | 23Q2.1 | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | No |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0052321: The application switch to English if it is in offline |
Description | In offline mode, the application language switches to English |
Steps To Reproduce | Having an environment with translations (for example, French)
- Login
- Verify that the application is in French
- Go offline
- Refresh
- KO, the application is in English |
Proposed Solution | take the language from the terminal (language_string attribute). In case this one is not defined, set it to English |
Additional Information | |
Tags | No tags attached. |
Relationships | has duplicate | backport | 0052319 | 23Q2 | closed | meriem_azaf | English language in offline mode | blocks | design defect | 0052190 | | closed | meriem_azaf | The application switch to English if it is in offline |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2023-05-03 11:03 | meriem_azaf | Type | design defect => backport |
2023-05-03 11:03 | meriem_azaf | Target Version | => 23Q2 |
2023-05-03 13:10 | AugustoMauch | Relationship added | has duplicate 0052319 |
2023-05-03 13:12 | AugustoMauch | Target Version | 23Q2 => 23Q2.1 |
2023-05-05 11:02 | hgbot | Merge Request Status | => open |
2023-05-05 11:02 | hgbot | Note Added: 0149337 | |
2023-05-05 11:06 | hgbot | Note Added: 0149338 | |
2023-06-04 21:04 | hgbot | Merge Request Status | open => approved |
2023-06-04 21:04 | hgbot | Resolution | open => fixed |
2023-06-04 21:04 | hgbot | Status | scheduled => closed |
2023-06-04 21:04 | hgbot | Fixed in Version | => RR23Q2.1 |
2023-06-04 21:04 | hgbot | Note Added: 0150688 | |
2023-06-04 21:04 | hgbot | Note Added: 0150689 | |
2023-06-04 21:05 | hgbot | Note Added: 0150690 | |
2023-06-04 21:05 | hgbot | Fixed in Version | RR23Q2.1 => 23Q2.1 |
2023-06-04 21:05 | hgbot | Note Added: 0150691 | |
2023-06-05 10:39 | hgbot | Note Added: 0150710 | |
2023-06-05 10:39 | hgbot | Note Added: 0150711 | |
2023-06-05 10:39 | hgbot | Note Added: 0150712 | |
Notes |
|
(0149337)
|
hgbot
|
2023-05-05 11:02
|
|
|
|
(0149338)
|
hgbot
|
2023-05-05 11:06
|
|
|
|
(0150688)
|
hgbot
|
2023-06-04 21:04
|
|
|
|
(0150689)
|
hgbot
|
2023-06-04 21:04
|
|
|
|
(0150690)
|
hgbot
|
2023-06-04 21:05
|
|
|
|
(0150691)
|
hgbot
|
2023-06-04 21:05
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 4ecb2c5eda28d8cd3a33b8fc5c5460040627a845
Author: Meriem Azaf <meriem.azaf@openbravo.com>
Date: 04-06-2023 21:04:36
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/4ecb2c5eda28d8cd3a33b8fc5c5460040627a845 [^]
Fixes ISSUE-52321: The application switch to English if it is in offline
In offline mode, the application language switches to English.
To fix this, we added a new property to the session in indexDB to keep the language and set it in offline mode.
---
M web-jspack/org.openbravo.core2/src/core/authentication/LoginProcess.js
M web-jspack/org.openbravo.core2/src/core/authentication/RestoreSession.js
M web-jspack/org.openbravo.core2/src/core/authentication/__test__/LoginProcess.test.js
M web-jspack/org.openbravo.core2/src/core/user-interface/__test__/View.test.js
M web-jspack/org.openbravo.core2/src/model/session/__test__/SetSession.test.js
M web-jspack/org.openbravo.core2/src/model/session/actions/SetSession.js
---
|
|
|
(0150710)
|
hgbot
|
2023-06-05 10:39
|
|
|
|
(0150711)
|
hgbot
|
2023-06-05 10:39
|
|
|
|
(0150712)
|
hgbot
|
2023-06-05 10:39
|
|
|