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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0005092
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] A. Platformminoralways2008-09-17 18:242008-12-11 13:58
ReporterrafarodaView Statuspublic 
Assigned ToHennadzi 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branch2.40Fixed in SCM revision7476
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.5
OS VersionUbuntu 7.10Database version8.3Ant version1.7
Product VersionpiSCM revision7284 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
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 Reproduce1) 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)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0005085 closedHennadzi Bad usage of advisePopUp 

-  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
Powered by Mantis Bugtracker