Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0005092 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] A. Platform | minor | always | 2008-09-17 18:24 | 2008-12-11 13:58 | |||
Reporter | rafaroda | View Status | public | |||||
Assigned To | Hennadzi | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | 2.40 | Fixed in SCM revision | 7476 | |||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.5 | |||
OS Version | Ubuntu 7.10 | Database version | 8.3 | Ant version | 1.7 | |||
Product Version | pi | SCM revision | 7284 | |||||
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 | 0005092: Bad usage of advisePopUp | |||||||
Description | 'advisePopUp' method can be used in two ways: 1) advisePopUp(response, Utility.messageBD(this, "strTitle", vars.getLanguage()), Utility.messageBD(this, "strText", vars.getLanguage())) 2) advisePopUp(response, strMessageType, Utility.messageBD(this, "strTitle", vars.getLanguage()), Utility.messageBD(this, "strText", vars.getLanguage())) In some files there is no translation of 'strTitle' so the title is always displayed in English. | |||||||
Steps To Reproduce | 1) Inside /info/AttributeSetInstance.java (2 times): 1.1) advisePopUp(response, "Info", Utility.messageBD(this, "PAttributeNoSelection", vars.getLanguage())); should be advisePopUp(response, "INFO" Utility.messageBD(this, "Info", vars.getLanguage()), Utility.messageBD(this, "PAttributeNoSelection", vars.getLanguage())); 2) Inside /utility/WindowTree.java: 2.1) advisePopUp(response, "Error", Utility.messageBD(this, "AccessTableNoView", vars.getLanguage())) should be advisePopUp(response, "ERROR", Utility.messageBD(this, "Error", vars.getLanguage()), Utility.messageBD(this, "AccessTableNoView", vars.getLanguage())) 3) Inside /ad_process/Register.java (4 times): 3.1) advisePopUp(response, "ERROR", "Registration", message) should be advisePopUp(response, "ERROR", Utility.messageBD(this, "Registration", vars.getLanguage()), message) 4) Inside /ad_process/TestHeartbeat.java: 4.1) (2 times) advisePopUp(response, "ERROR", "Heartbeat", message) should be advisePopUp(response, "ERROR", Utility.messageBD(this, "Heartbeat", vars.getLanguage()), message) 4.2) (4 times) advisePopUp(response, "ERROR", "Heartbeat Configuration", message) should be advisePopUp(response, "ERROR", Utility.messageBD(this, "Heartbeat Configuration", vars.getLanguage()), message) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0009083) svnbot (reporter) 2008-09-18 14:48 |
Repository: openbravo Revision: 7476 Author: hennadzi Date: 2008-09-18 14:48:16 +0200 (Thu, 18 Sep 2008) Fixed bug 0005092: Bad usage of advisePopUp --- U branches/r2.40/src/org/openbravo/erpCommon/ad_process/Register.java U branches/r2.40/src/org/openbravo/erpCommon/ad_process/TestHeartbeat.java U branches/r2.40/src/org/openbravo/erpCommon/info/AttributeSetInstance.java U branches/r2.40/src/org/openbravo/erpCommon/utility/WindowTree.java --- https://dev.openbravo.com/websvn/openbravo/?rev=7476&sc=1 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2008-09-17 18:24 | rafaroda | New Issue | |
2008-09-17 18:24 | rafaroda | Assigned To | => Hennadzi |
2008-09-17 18:24 | rafaroda | Status | new => scheduled |
2008-09-18 14:48 | svnbot | Checkin | |
2008-09-18 14:48 | svnbot | Note Added: 0009083 | |
2008-09-18 14:48 | svnbot | Status | scheduled => resolved |
2008-09-18 14:48 | svnbot | Resolution | open => fixed |
2008-09-18 14:48 | svnbot | svn_revision | => 7476 |
2008-12-11 13:58 | psarobe | Regression testing | => No |
2008-12-11 13:58 | psarobe | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |