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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0005085
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2008-09-17 17:582008-11-25 22:54
ReporterrafarodaView Statuspublic 
Assigned ToHennadzi 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision7475
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

0005085: 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 ]
depends on backport 0005092 closedHennadzi Bad usage of advisePopUp 
related to feature request 0005083 acknowledgediciordia Merge advisePopUp and bdErrorGeneralPopUp methods 

-  Notes
(0009082)
svnbot (reporter)
2008-09-18 14:46

Repository: openbravo
Revision: 7475
Author: hennadzi
Date: 2008-09-18 14:46:06 +0200 (Thu, 18 Sep 2008)

Fixed bug 0005085: Bad usage of advisePopUp

---
U trunk/src/org/openbravo/erpCommon/ad_process/Register.java
U trunk/src/org/openbravo/erpCommon/ad_process/TestHeartbeat.java
U trunk/src/org/openbravo/erpCommon/info/AttributeSetInstance.java
U trunk/src/org/openbravo/erpCommon/utility/WindowTree.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=7475&sc=1 [^]

- Issue History
Date Modified Username Field Change
2008-09-17 17:58 rafaroda New Issue
2008-09-17 17:58 rafaroda Assigned To => cromero
2008-09-17 17:58 rafaroda sf_bug_id 0 => 2116412
2008-09-17 17:58 rafaroda Regression testing => No
2008-09-17 17:58 rafaroda Relationship added related to 0005083
2008-09-17 18:24 rafaroda Assigned To cromero => Hennadzi
2008-09-17 18:24 rafaroda Proposed Solution updated
2008-09-17 18:24 rafaroda Status new => scheduled
2008-09-17 18:24 rafaroda fix_in_branch => trunk
2008-09-18 14:46 svnbot Checkin
2008-09-18 14:46 svnbot Note Added: 0009082
2008-09-18 14:46 svnbot Status scheduled => resolved
2008-09-18 14:46 svnbot Resolution open => fixed
2008-09-18 14:46 svnbot svn_revision => 7475
2008-11-25 22:54 psarobe Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker