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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0009564
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2009-06-19 14:542011-10-28 18:54
ReporterAinhoaPagolaView Statuspublic 
Assigned Toiperdomo 
PrioritynormalResolutionout of dateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseAnyJava version1.5
OS VersionUbuntu 8.4Database versionAnt version1.7
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0009564: ProcessBundle not properly created

DescriptionI 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 ReproduceIn 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.
Tagsdev-platform-quick-wins, OB3-Reviewed
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0014878 closedalostale Not possible to retrieve some variables in ProcessBundle method 

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