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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0043686
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2020-04-07 09:362020-05-04 07:58
ReportercbernerView Statuspublic 
Assigned Tocberner 
PrioritynormalResolutionfixedFixed in VersionPR20Q3
StatusclosedFix in branchFixed in SCM revision9c6c865d3c40
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0043686: TranslationHandler shows INFO of not found after each ERROR

DescriptionAfter 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
Steps To Reproduce-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0043272 closedcberner When importing translation for no longer existing elements -> INFO message is missing all necessary details 

-  Notes
(0119227)
hgbot (developer)
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
---

- Issue History
Date Modified Username Field Change
2020-04-07 09:36 cberner New Issue
2020-04-07 09:36 cberner Assigned To => platform
2020-04-07 09:36 cberner Modules => Core
2020-04-07 09:36 cberner Triggers an Emergency Pack => No
2020-04-07 09:36 cberner Relationship added related to 0043272
2020-04-08 09:21 alostale Status new => acknowledged
2020-04-15 13:40 cberner Assigned To platform => cberner
2020-04-17 09:23 hgbot Checkin
2020-04-17 09:23 hgbot Note Added: 0119227
2020-04-17 09:23 hgbot Status acknowledged => resolved
2020-04-17 09:23 hgbot Resolution open => fixed
2020-04-17 09:23 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9c6c865d3c40d6671133843656efbba421367f3c [^]
2020-05-04 07:58 alostale Review Assigned To => alostale
2020-05-04 07:58 alostale Status resolved => closed
2020-05-04 07:58 alostale Fixed in Version => 3.0PR20Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker