Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0052190 | POS2 | Core | public | 2023-04-20 14:32 | 2023-06-05 10:36 |
|
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 | | Fixed in Version | | |
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 | 0052190: 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 | depends on | backport | 0052321 | 23Q2.1 | closed | meriem_azaf | The application switch to English if it is in offline | depends on | backport | 0052322 | 23Q1.3 | closed | meriem_azaf | The application switch to English if it is in offline |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2023-04-20 14:32 | javierRodriguez | New Issue | |
2023-04-20 14:32 | javierRodriguez | Assigned To | => javierRodriguez |
2023-04-20 14:32 | javierRodriguez | OBNetwork customer | => No |
2023-04-20 14:32 | javierRodriguez | Triggers an Emergency Pack | => No |
2023-04-20 15:29 | javierRodriguez | Assigned To | javierRodriguez => Triage Platform Base |
2023-05-03 11:03 | meriem_azaf | Assigned To | Triage Platform Base => meriem_azaf |
2023-05-03 11:03 | meriem_azaf | Status | new => scheduled |
2023-05-03 11:15 | hgbot | Merge Request Status | => open |
2023-05-03 11:15 | hgbot | Note Added: 0149188 | |
2023-05-03 11:18 | hgbot | Note Added: 0149189 | |
2023-06-04 21:00 | hgbot | Merge Request Status | open => approved |
2023-06-04 21:00 | hgbot | Note Added: 0150684 | |
2023-06-04 21:00 | hgbot | Resolution | open => fixed |
2023-06-04 21:00 | hgbot | Status | scheduled => closed |
2023-06-04 21:00 | hgbot | Fixed in Version | => 23Q3 |
2023-06-04 21:00 | hgbot | Note Added: 0150685 | |
2023-06-04 21:00 | hgbot | Note Added: 0150686 | |
2023-06-04 21:00 | hgbot | Fixed in Version | 23Q3 => RR23Q3 |
2023-06-04 21:00 | hgbot | Note Added: 0150687 | |
2023-06-05 10:36 | hgbot | Note Added: 0150709 | |
Notes |
|
(0149188)
|
hgbot
|
2023-05-03 11:15
|
|
|
|
(0149189)
|
hgbot
|
2023-05-03 11:18
|
|
|
|
(0150684)
|
hgbot
|
2023-06-04 21:00
|
|
|
|
(0150685)
|
hgbot
|
2023-06-04 21:00
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 2da4c8fdee57186e24f7b07291ad600adfd13e8a
Author: Meriem Azaf <meriem.azaf@openbravo.com>
Date: 04-06-2023 20:50:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/2da4c8fdee57186e24f7b07291ad600adfd13e8a [^]
Fixes ISSUE-52190: 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
---
|
|
|
(0150686)
|
hgbot
|
2023-06-04 21:00
|
|
|
|
(0150687)
|
hgbot
|
2023-06-04 21:00
|
|
|
|
(0150709)
|
hgbot
|
2023-06-05 10:36
|
|
|