Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0047546 | Openbravo ERP | E. Translation | public | 2021-08-13 09:44 | 2021-08-13 12:11 |
|
Reporter | caristu | |
Assigned To | caristu | |
Priority | immediate | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | PR21Q4 | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | Pre packaging ( pi ) |
Regression date | |
Regression introduced in release | pi |
Regression introduced by commit | https://gitlab.com/openbravo/product/openbravo/-/commit/0b38658966b3b6f7c03b9baca0945d491e796bcf [^] |
Triggers an Emergency Pack | No |
|
Summary | 0047546: Install a translation module from the command line fails |
Description | After the changes introduced with 0047259 the installation of translation modules fails from the command line. This is because in that case WeldUtils is not properly initialized because we are outside of a servlet context. |
Steps To Reproduce | 1) Clone a translation module into the modules folder. Ex: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core.es_ES [^]
2) Run ant smartbuild -Dlocal=no
The translation import process fails with the following error:
[java] 2334 [main] ERROR org.openbravo.erpCommon.ad_forms.TranslationManager - importTrlFile - error parsing file: /home/openbravo/src/issues/openbravo/modules/org.openbravo.retail.posterminal.es_ES/referencedata/translation/es_ES//AD_ELEMENT_TRL_es_ES.xml
[java] java.lang.NullPointerException: null
[java] at org.openbravo.base.weld.WeldUtils.getStaticInstanceBeanManager(WeldUtils.java:54) ~[classes/:?]
[java] at org.openbravo.base.weld.WeldUtils.getInstances(WeldUtils.java:129) ~[classes/:?]
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | caused by | defect | 0047259 | | closed | caristu | Translation done with the 'Translator Helper' are now shown in the POS doing a 'Refresh data' or even Full Refresh |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2021-08-13 09:44 | caristu | New Issue | |
2021-08-13 09:44 | caristu | Assigned To | => caristu |
2021-08-13 09:44 | caristu | OBNetwork customer | => OBPS |
2021-08-13 09:44 | caristu | Modules | => Core |
2021-08-13 09:44 | caristu | Triggers an Emergency Pack | => No |
2021-08-13 09:44 | caristu | Issue generated from | 0047259 |
2021-08-13 09:44 | caristu | Relationship added | caused by 0047259 |
2021-08-13 09:45 | caristu | Regression level | => Pre packaging ( pi ) |
2021-08-13 09:45 | caristu | Regression introduced in release | => pi |
2021-08-13 09:45 | caristu | Regression introduced by commit | => https://gitlab.com/openbravo/product/openbravo/-/commit/0b38658966b3b6f7c03b9baca0945d491e796bcf [^] |
2021-08-13 09:56 | hgbot | Merge Request Status | => open |
2021-08-13 09:56 | hgbot | Note Added: 0131110 | |
2021-08-13 11:18 | caristu | Summary | Install a translation module from the console fails => Install a translation module from the command line fails |
2021-08-13 11:18 | caristu | Description Updated | bug_revision_view_page.php?rev_id=22996#r22996 |
2021-08-13 11:40 | caristu | OBNetwork customer | OBPS => No |
2021-08-13 12:09 | vmromanos | Note Added: 0131112 | |
2021-08-13 12:10 | hgbot | Merge Request Status | open => approved |
2021-08-13 12:11 | hgbot | Resolution | open => fixed |
2021-08-13 12:11 | hgbot | Status | new => closed |
2021-08-13 12:11 | hgbot | Note Added: 0131113 | |
2021-08-13 12:11 | hgbot | Fixed in Version | => PR21Q4 |
2021-08-13 12:11 | hgbot | Note Added: 0131114 | |