Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0015417 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] A. Platform | minor | always | 2010-09-21 12:38 | 2010-12-14 19:30 | |||
Reporter | networkb | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | 2.50 | Fixed in SCM revision | 730218eef94c | |||
Projection | none | ETA | none | Target Version | 2.50MP25 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.50MP21 | SCM revision | ||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0015417: Wrong behaviour when printing messages using OBError, when messages belong to a module whose language is different than English | |||||||
Description | When developing a new java that prints an error message using OBError, if the module has been defined in Spanish, the message value of the ad_message is shown when loggin in spanish. It seems that it tries to find a message in spanish on the ad_message_trl, but it has not been created because the module is being developed on spanish. This error happens in the machine where the module has been development, but if you package it on a module, and install it on a different application the message is correct. This is because when installing the module a new row for the message is created on the ad_message_trl table for spanish language but this not happens when developing the module. | |||||||
Steps To Reproduce | -Define a new module in spanish -Create a message in spanish. -Create a process that prints the error message using OBError object -After compile see that the error shown is the value of the ad_message when should be the messagetext. | |||||||
Proposed Solution | -Make the ob error to print the message of the ad_message instead of ad_message_trl table, when the message belongs to a module that is defined for a language different than english. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0033155) hgbot (developer) 2010-12-14 11:47 |
Repository: erp/stable/2.50 Changeset: 730218eef94cd05b00179e041dba04d9fab61631 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Tue Dec 14 11:47:25 2010 +0100 URL: http://code.openbravo.com/erp/stable/2.50/rev/730218eef94cd05b00179e041dba04d9fab61631 [^] fixed bug 15417: Wrong behaviour when printing messages using OBError --- M src/org/openbravo/erpCommon/utility/MessageBD_data.xsql M src/org/openbravo/erpCommon/utility/Utility.java --- |
(0033183) shuehner (administrator) 2010-12-14 19:30 |
Reviewed & Tested in pi/pgsql (rev: f3e22b5fe784), the method is now working fine reading both base-language & extra-language values in both base-language en_US (like corE) and with a module in another base-language (like de_DE) |
Issue History | |||
Date Modified | Username | Field | Change |
2010-12-14 11:44 | alostale | Type | defect => backport |
2010-12-14 11:44 | alostale | fix_in_branch | => 2.50 |
2010-12-14 11:47 | hgbot | Checkin | |
2010-12-14 11:47 | hgbot | Note Added: 0033155 | |
2010-12-14 11:47 | hgbot | Status | scheduled => resolved |
2010-12-14 11:47 | hgbot | Resolution | open => fixed |
2010-12-14 11:47 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/stable/2.50/rev/730218eef94cd05b00179e041dba04d9fab61631 [^] |
2010-12-14 19:30 | shuehner | Note Added: 0033183 | |
2010-12-14 19:30 | shuehner | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |