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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055167
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Coremajorsometimes2024-04-11 11:132024-04-11 12:44
ReportercbernerView Statuspublic 
Assigned Tocberner 
PrioritynormalResolutionfixedFixed in Version24Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0055167: Some labels are not shown properly in the application

DescriptionSome labels are not shown in the application, after further investigation, it seems that they are not properly loaded in AppInitializer.js.

Due to Vite update, the way json files are imported with translations changed from require to await import and as such it needs modification.
Steps To Reproduce- Reproducible with SSMS(but probably there are other ways)
1. Npm start with ssms
2. Login and then click on Distribution Order Issue
3. Click on New DOi

See that several labels are not translated/shown properly.
Proposed SolutionModify AppInitializer.js to do the following:

await import(....json).default;

The default is what we want, and not the full imported ES module. This is already done for other imported files.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by feature request 0054570 closedcberner CRA should be replaced by an alternative, Vite 

-  Notes
(0163089)
hgbot (developer)
2024-04-11 11:15

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1455 [^]
(0163096)
hgbot (developer)
2024-04-11 12:44

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1455 [^]
(0163097)
hgbot (developer)
2024-04-11 12:44

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: cad91351ea49baaf547dd60c8c8e564329be4552
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 11-04-2024 11:14:28
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/cad91351ea49baaf547dd60c8c8e564329be4552 [^]

Fixes ISSUE-55167: Some labels are not shown properly in the application

---
M web-jspack/org.openbravo.core2/src/core/AppInitializer.js
---

- Issue History
Date Modified Username Field Change
2024-04-11 11:13 cberner New Issue
2024-04-11 11:13 cberner Assigned To => cberner
2024-04-11 11:13 cberner Triggers an Emergency Pack => No
2024-04-11 11:13 cberner Relationship added caused by 0054570
2024-04-11 11:15 hgbot Note Added: 0163089
2024-04-11 12:44 hgbot Resolution open => fixed
2024-04-11 12:44 hgbot Status new => closed
2024-04-11 12:44 hgbot Note Added: 0163096
2024-04-11 12:44 hgbot Fixed in Version => 24Q3
2024-04-11 12:44 hgbot Note Added: 0163097


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker