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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012770
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] E. Translationtrivialalways2010-03-23 10:082022-02-01 08:08
ReporterFrancescoFinamoreView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product Version2.50MP8SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012770: Messages

DescriptionI have customized a stored procedure, i raise an error coded on ad_message and the message is in a module with language 'it_IT':
example Raise '%', '@IT_XXX@';

On the application the message isn't decodified but it show '@IT_XXX@'.
I have analyzed the code and the message is called from Utility.parseTranslation that at the end in the method messageBD(ConnectionProvider conn, String strCode, String strLanguage) calls the statement :
MessageBDData.messageLanguage(conn, strCode, strLanguage);
but this method isn't correct if you have a module with language different from 'en_US'.
Steps To ReproduceCreate a module with language different from 'en_US',
Create a message associated to this module.
Raise in exception this message from a stored procedure , i.e. c_invoice_post.
Proposed SolutionChange in the file MessageBD_data, in the method <SqlMethod name="messageLanguage" type="preparedStatement" return="String" default="">
the row
      SELECT AD_MESSAGE_TRL.MSGTEXT
with the row
      SELECT COALESCE(AD_MESSAGE_TRL.MSGTEXT, AD_MESSAGE.MSGTEXT) as MSGTEXT
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2010-03-23 10:08 FrancescoFinamore New Issue
2010-03-23 10:08 FrancescoFinamore Assigned To => alostale
2017-04-10 14:39 alostale Assigned To alostale => platform
2022-02-01 08:08 alostale Assigned To platform => Triage Platform Base


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker