Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0015417 | Openbravo ERP | A. Platform | public | 2010-09-21 12:38 | 2010-12-14 19:30 | |||||||
Reporter | networkb | |||||||||||
Assigned To | alostale | |||||||||||
Priority | high | Severity | minor | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | 2.50MP21 | |||||||||||
Target Version | 2.50MP25 | Fixed in Version | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
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. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
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 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|