Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0009564 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | always | 2009-06-19 14:54 | 2011-10-28 18:54 | |||
Reporter | AinhoaPagola | View Status | public | |||||
Assigned To | iperdomo | |||||||
Priority | normal | Resolution | out of date | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
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 | pi | 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 | 0009564: ProcessBundle not properly created | |||||||
Description | I have developed a class extending from Process. In the method do execute, in the ProcessBundle I get as an entry, some attributes are null. | |||||||
Steps To Reproduce | In the HCM module, in HCMC_employmentinformation_complete.java. msg.setTitle(Utility.messageBD(bundle.getConnection(), "@Success@", bundle.getContext().getLanguage())); I do this, and the connection I get is null. | |||||||
Tags | dev-platform-quick-wins, OB3-Reviewed | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0032665) rafaroda (developer) 2010-11-17 13:39 |
Hi Ivan, Is this issue fixed? Since I see that 0014878 has been closed. Thanks. |
(0042293) iperdomo (reporter) 2011-10-28 18:54 |
Currently there are several classes implementing the Process interface, without this issue, i.e. https://code.openbravo.com/erp/devel/pi/file/f7371a718253/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_BankStatementProcess.java#l25 [^] Here you have another example of the code generated by WAD: private void process58763832F5F3485CAD33B8B9FCD6C640(String strProcessId, VariablesSecureApp vars, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { ProcessBundle pb = new ProcessBundle(strProcessId, vars).init(this); HashMap<String, Object> params= new HashMap<String, Object>(); pb.setParams(params); OBError myMessage = null; try { new org.openbravo.erpCommon.ad_process.UpdateAuditTrail().execute(pb); myMessage = (OBError) pb.getResult(); myMessage.setMessage(Utility.parseTranslation(this, vars, vars.getLanguage(), myMessage.getMessage())); myMessage.setTitle(Utility.parseTranslation(this, vars, vars.getLanguage(), myMessage.getTitle())); } catch (Exception ex) { myMessage = Utility.translateError(this, vars, vars.getLanguage(), ex.getMessage()); log4j.error(ex); if (!myMessage.isConnectionAvailable()) { bdErrorConnection(response); return; } } processButtonHelper(request, response, vars, myMessage); } |
Issue History | |||
Date Modified | Username | Field | Change |
2009-06-19 14:54 | AinhoaPagola | New Issue | |
2009-06-19 14:54 | AinhoaPagola | Assigned To | => iperdomo |
2009-06-30 19:52 | psarobe | Status | new => scheduled |
2009-06-30 19:52 | psarobe | version | => pi |
2010-11-17 11:57 | rafaroda | Issue Monitored: rafaroda | |
2010-11-17 11:57 | rafaroda | Tag Attached: dev-platform-quick-wins | |
2010-11-17 13:38 | rafaroda | Relationship added | related to 0014878 |
2010-11-17 13:39 | rafaroda | Note Added: 0032665 | |
2011-10-28 18:16 | psarobe | Tag Attached: OB3-Reviewed | |
2011-10-28 18:54 | iperdomo | Note Added: 0042293 | |
2011-10-28 18:54 | iperdomo | Status | scheduled => closed |
2011-10-28 18:54 | iperdomo | Resolution | open => out of date |
Copyright © 2000 - 2009 MantisBT Group |