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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0009503
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2009-06-16 17:352009-07-27 00:00
ReporterAinhoaPagolaView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionfixedFixed in Version2.50MP3
StatusclosedFix in branchFixed in SCM revision486e0ca2fdb6
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseAnyJava version1.5
OS VersionUbuntu 8.4Database versionAnt version1.7
Product VersionmainSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0009503: Messages not translated using setTitle function of OBError

DescriptionIf I throw an OBError setting the title with setTitle function, the message will not be translated.

Example:
      final OBError msg = new OBError();
      msg.setType("Success");
      msg.setTitle("@Success@");
      msg.setMessage("");

The error will display in the UI with the following message "@Success@" instead of its corresponding translation: Process Completed Succesfully.

On the other hand, the setMessage() part is correctly translated. If I do it this way:

      final OBError msg = new OBError();
      msg.setType("Success");
      msg.setTitle("");
      msg.setMessage("@Success@");
It is properly translated.
Steps To ReproduceCreate a java file and throw an error using the code above.
Tags250MP3releasecandidate
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0017713)
alostale (manager)
2009-07-01 09:16

This is only applicable to Standard UI processes implemented by java classes
(0017720)
hgbot (developer)
2009-07-01 10:15

Repository: erp/devel/pi
Changeset: 486e0ca2fdb660936c357d4376ab8a90a42b0fc2
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Jul 01 10:15:05 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/486e0ca2fdb660936c357d4376ab8a90a42b0fc2 [^]

fixed bug 0009503: Messages not translated using setTitle function of OBError

---
M src-wad/src/org/openbravo/wad/ActionButtonJava_Responser.javaxml
M src-wad/src/org/openbravo/wad/javasource.javaxml
---
(0017785)
AinhoaPagola (reporter)
2009-07-03 12:34

It is working fine for me now. Thanks!
(0018622)
psarobe (manager)
2009-07-26 22:02

Thanks Ainhoa

- Issue History
Date Modified Username Field Change
2009-06-16 17:35 AinhoaPagola New Issue
2009-06-16 17:35 AinhoaPagola Assigned To => rafaroda
2009-06-30 19:14 psarobe Status new => scheduled
2009-06-30 19:14 psarobe Assigned To rafaroda => alostale
2009-06-30 19:14 psarobe fix_in_branch => pi
2009-06-30 19:15 psarobe Priority normal => urgent
2009-06-30 19:15 psarobe Severity minor => major
2009-06-30 19:15 psarobe fix_in_branch pi =>
2009-07-01 09:16 alostale Note Added: 0017713
2009-07-01 10:15 hgbot Checkin
2009-07-01 10:15 hgbot Note Added: 0017720
2009-07-01 10:15 hgbot Status scheduled => resolved
2009-07-01 10:15 hgbot Resolution open => fixed
2009-07-01 10:15 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/486e0ca2fdb660936c357d4376ab8a90a42b0fc2 [^]
2009-07-03 12:34 AinhoaPagola Note Added: 0017785
2009-07-21 16:24 psarobe Fixed in Version => 2.50MP3
2009-07-21 16:26 psarobe Tag Attached: 250MP3releasecandidate
2009-07-26 22:02 psarobe Status resolved => closed
2009-07-26 22:02 psarobe Note Added: 0018622
2009-07-27 00:00 anonymous sf_bug_id 0 => 2827487


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker