Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0043686Openbravo ERPA. Platformpublic2020-04-07 09:362020-05-04 07:58
cberner 
cberner 
normalminorhave not tried
closedfixed 
5
 
PR20Q3 
alostale
Core
No
0043686: TranslationHandler shows INFO of not found after each ERROR
After showing ERROR for exceptions also shows 'Not found' as if there was no exception but update statement did update 0 rows (meaning base row in _TRL table not found).

Should show only the error and skip to the next translation.

Example:
     [java] 29945 [main] ERROR org.openbravo.erpCommon.ad_forms.TranslationHandler - Failed query importing translation: update AD_REF_LIST_Trl set Name=?,Updated=now() ,IsTranslated=? where AD_REF_LIST_ID=? and AD_Language=? and AD_Client_ID=? with parameters [Cerrado, N, E5869ABDD2D144AE9BB073F4A61F6E45, es_ES, 0]
     [java] 29947 [main] INFO org.openbravo.erpCommon.ad_forms.TranslationHandler - Not found translatable element - Table:AD_REF_LIST, AD_REF_LIST_ID=E5869ABDD2D144AE9BB073F4A61F6E45, AD_Language=es_ES
     [java] 29948 [main] ERROR org.openbravo.erpCommon.ad_forms.TranslationHandler - Failed query importing translation: update AD_REF_LIST_Trl set Name=?,Updated=now() ,IsTranslated=? where AD_REF_LIST_ID=? and AD_Language=? and AD_Client_ID=? with parameters [Parcialmente, N, E94D29C3F7F14422873FC60F9C464C85, es_ES, 0]
     [java] 29949 [main] INFO org.openbravo.erpCommon.ad_forms.TranslationHandler - Not found translatable element - Table:AD_REF_LIST, AD_REF_LIST_ID=E94D29C3F7F14422873FC60F9C464C85, AD_Language=es_ES
-
No tags attached.
related to defect 0043272 closed cberner When importing translation for no longer existing elements -> INFO message is missing all necessary details 
Issue History
2020-04-07 09:36cbernerNew Issue
2020-04-07 09:36cbernerAssigned To => platform
2020-04-07 09:36cbernerModules => Core
2020-04-07 09:36cbernerTriggers an Emergency Pack => No
2020-04-07 09:36cbernerRelationship addedrelated to 0043272
2020-04-08 09:21alostaleStatusnew => acknowledged
2020-04-15 13:40cbernerAssigned Toplatform => cberner
2020-04-17 09:23hgbotCheckin
2020-04-17 09:23hgbotNote Added: 0119227
2020-04-17 09:23hgbotStatusacknowledged => resolved
2020-04-17 09:23hgbotResolutionopen => fixed
2020-04-17 09:23hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9c6c865d3c40d6671133843656efbba421367f3c [^]
2020-05-04 07:58alostaleReview Assigned To => alostale
2020-05-04 07:58alostaleStatusresolved => closed
2020-05-04 07:58alostaleFixed in Version => 3.0PR20Q3

Notes
(0119227)
hgbot   
2020-04-17 09:23   
Repository: erp/devel/pi
Changeset: 9c6c865d3c40d6671133843656efbba421367f3c
Author: Cristian Berner <cristian.berner <at> openbravo.com>
Date: Wed Apr 15 13:08:11 2020 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9c6c865d3c40d6671133843656efbba421367f3c [^]

Fixes ISSUE-43686: Remove info log after query exception in TranslationHandler

Doesn't show the info message after an exception in the retrieval query of TranslationHandler.
It was previously generating a confusing info message after every exception in query.

---
M src/org/openbravo/erpCommon/ad_forms/TranslationHandler.java
---