Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0009503 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2009-06-16 17:35 | 2009-07-27 00:00 | |||
Reporter | AinhoaPagola | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 2.50MP3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 486e0ca2fdb6 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | Any | Java version | 1.5 | |||
OS Version | Ubuntu 8.4 | Database version | Ant version | 1.7 | ||||
Product Version | main | SCM revision | ||||||
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 | 0009503: Messages not translated using setTitle function of OBError | |||||||
Description | If 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 Reproduce | Create a java file and throw an error using the code above. | |||||||
Tags | 250MP3releasecandidate | |||||||
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 |