Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052190
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[POS2] Coreminoralways2023-04-20 14:322023-06-05 10:36
ReporterjavierRodriguezView Statuspublic 
Assigned Tomeriem_azaf 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Statusapproved
Review Assigned To
OBNetwork customerNo
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0052190: The application switch to English if it is in offline

DescriptionIn offline mode, the application language switches to English
Steps To ReproduceHaving 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 Solutiontake the language from the terminal (language_string attribute). In case this one is not defined, set it to English
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 005232123Q2.1 closedmeriem_azaf The application switch to English if it is in offline 
depends on backport 005232223Q1.3 closedmeriem_azaf The application switch to English if it is in offline 

-  Notes
(0149188)
hgbot (developer)
2023-05-03 11:15

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1073 [^]
(0149189)
hgbot (developer)
2023-05-03 11:18

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/506 [^]
(0150684)
hgbot (developer)
2023-06-04 21:00

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1073 [^]
(0150685)
hgbot (developer)
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 (developer)
2023-06-04 21:00

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/506 [^]
(0150687)
hgbot (developer)
2023-06-04 21:00

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: f430b6e961070a3e98616227f050a0a00ac06b67
Author: Meriem Azaf <meriem.azaf@openbravo.com>
Date: 04-06-2023 20:59:12
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/f430b6e961070a3e98616227f050a0a00ac06b67 [^]

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/org.openbravo.mobile.core/app/model/login/OfflineSession.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0150709)
hgbot (developer)
2023-06-05 10:36

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: e073760818033ec049b905b9b5692198956151a0
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 05-06-2023 10:36:24
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/e073760818033ec049b905b9b5692198956151a0 [^]

Related to ISSUE-52190: Makes sure terminal is not null

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker