Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0043317 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] A. Platform | minor | have not tried | 2020-02-19 17:46 | 2020-04-06 16:54 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | cberner | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR20Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | ccdf63d408c9 | ||||
Projection | none | ETA | none | Target Version | 3.0PR20Q1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | alostale | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | Packaging and release | |||||||
Regression date | 2019-11-28 | |||||||
Regression introduced in release | main | |||||||
Regression introduced by commit | http://code.openbravo.com/erp/devel/pi/rev/c47b63fff5775ab73ce8072af4fa6fd6c13d197e [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0043317: When importing translation for no longer existing elements -> INFO message is missing all necessary details | |||||||
Description | When importing translation values from a translation pack it can happen that the original row to be translated does no longer exist. In that case a message is shown like the following: [java] 36825 [main] INFO org.openbravo.erpCommon.ad_forms.TranslationHandler - Not Found - UPDATE AD_TEXTINTERFACES_Trl SET Text='Sous-total de la Grille',Updated=now(),IsTranslated='Y' WHERE AD_TEXTINTERFACES_ID='508174CC5C8C4E4B90AF19C2FE2A5B40' AND AD_Language='fr_FR' AND AD_Client_ID='0' showing which translation is not finding its row to update. Note that message is INFO level only as that is info useful to maintainer of the translation but not a problem for the user of the translation pack. That message is now broken in pi as it looks like: [java] 35685 [main] INFO org.openbravo.erpCommon.ad_forms.TranslationHandler - Not Found - update AD_TEXTINTERFACES_Trl set Text=?,Updated=now() ,IsTranslated=? where AD_TEXTINTERFACES_ID=? and AD_Language=? and AD_Client_ID=? That is side-effect of improving the code to use SQL bind-parameters. The values interesting to print are now parameter-values but the code is only printing the sql-string | |||||||
Steps To Reproduce | Install a translation having at least 1 trl value for which the original row does no longer exist. Review the 'Not Found' to notice all reference to the element are missing | |||||||
Proposed Solution | - | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0118084) hgbot (developer) 2020-02-25 09:57 |
Repository: erp/backports/3.0PR20Q1 Changeset: 9fcaaa12799d1b7fc05f499fe5496992f646f1b9 Author: Cristian Berner <cristian.berner <at> openbravo.com> Date: Mon Feb 24 17:13:12 2020 +0100 URL: http://code.openbravo.com/erp/backports/3.0PR20Q1/rev/9fcaaa12799d1b7fc05f499fe5496992f646f1b9 [^] Fixes ISSUE-43317: Info message on importing missing translation shows params --- M src/org/openbravo/erpCommon/ad_forms/TranslationHandler.java --- |
(0118963) hgbot (developer) 2020-04-06 11:53 |
Repository: erp/devel/pi Changeset: ccdf63d408c97e71e9b665d759e33c5400dd9f8a Author: Cristian Berner <cristian.berner <at> openbravo.com> Date: Mon Feb 24 17:13:12 2020 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/ccdf63d408c97e71e9b665d759e33c5400dd9f8a [^] Fixes ISSUE-43317: Info message on importing missing translation shows params --- M src/org/openbravo/erpCommon/ad_forms/TranslationHandler.java --- |
(0119003) cberner (developer) 2020-04-06 16:54 |
closed: wrongly reopened |
Issue History | |||
Date Modified | Username | Field | Change |
2020-02-25 09:56 | cberner | Type | defect => backport |
2020-02-25 09:56 | cberner | Target Version | => 3.0PR20Q1 |
2020-02-25 09:57 | hgbot | Checkin | |
2020-02-25 09:57 | hgbot | Note Added: 0118084 | |
2020-02-25 09:57 | hgbot | Status | scheduled => resolved |
2020-02-25 09:57 | hgbot | Resolution | open => fixed |
2020-02-25 09:57 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/33db07200942157629e9ab28df79b49bfb675960 [^] => http://code.openbravo.com/erp/backports/3.0PR20Q1/rev/9fcaaa12799d1b7fc05f499fe5496992f646f1b9 [^] |
2020-02-28 07:50 | alostale | Review Assigned To | => alostale |
2020-02-28 07:50 | alostale | Status | resolved => closed |
2020-02-28 07:50 | alostale | Fixed in Version | => 3.0PR20Q1 |
2020-04-06 11:53 | hgbot | Checkin | |
2020-04-06 11:53 | hgbot | Note Added: 0118963 | |
2020-04-06 11:53 | hgbot | Status | closed => resolved |
2020-04-06 11:53 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/backports/3.0PR20Q1/rev/9fcaaa12799d1b7fc05f499fe5496992f646f1b9 [^] => http://code.openbravo.com/erp/devel/pi/rev/ccdf63d408c97e71e9b665d759e33c5400dd9f8a [^] |
2020-04-06 16:54 | cberner | Note Added: 0119003 | |
2020-04-06 16:54 | cberner | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |