Openbravo Issue Tracking System - Openbravo ERP | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0025899 | Openbravo ERP | A. Platform | public | 2014-03-04 17:13 | 2014-03-07 05:25 |
| Reporter | egoitz | ||||
| Assigned To | shankarb | ||||
| Priority | immediate | Severity | major | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | 3.0PR14Q2 | Fixed in Version | 3.0PR14Q2 | ||
| Merge Request Status | |||||
| Review Assigned To | AugustoMauch | ||||
| OBNetwork customer | OBPS | ||||
| Web browser | |||||
| Modules | Core | ||||
| Support ticket | |||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0025899: When invoking the method Utility.getDocumentNo from a DalBaseProcess the client is not obtained | ||||
| Description | When invoking the method Utility.getDocumentNo from a DalBaseProcess the client is not obtained | ||||
| Steps To Reproduce | -Create a new table (Prefix_Tablename) that includes all the mandatory columns and also name and documentno columns. -Define it on application dictionary with name Prefix_Tablename -Create a sequence with name DocumentNo_Prefix_Tablename. Do it with role different than system administrator. -Create a new DalBaseProcess that creates a row on the new table using DAL -fill only the name -Define the DalBAseProcess as background process for client different than system -When saving the documentno column should be filled automatically with the value of the sequence created. *That does not work becuase the client is not obtained. This happens because when trying to get the client the following method is used: String AD_Client_ID = getContext(con, vars, "AD_Client_ID", WindowNo); ON getcontext method the client is obtained from a preference and if not fromthe httpsesson. It is null for background processes. | ||||
| Proposed Solution | Attached a posible solution | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=6730&type=bug | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2014-03-04 17:13 | egoitz | New Issue | |||
| 2014-03-04 17:13 | egoitz | Assigned To | => AugustoMauch | ||
| 2014-03-04 17:13 | egoitz | File Added: client.diff | |||
| 2014-03-04 17:13 | egoitz | Modules | => Core | ||
| 2014-03-04 17:13 | egoitz | OBNetwork customer | => Yes | ||
| 2014-03-04 17:13 | egoitz | Resolution time | => 1394406000 | ||
| 2014-03-04 17:13 | egoitz | Triggers an Emergency Pack | => No | ||
| 2014-03-05 13:03 | alostale | Target Version | => PR14Q2 | ||
| 2014-03-05 13:36 | shankarb | Assigned To | AugustoMauch => shankarb | ||
| 2014-03-06 08:01 | shankarb | Status | new => scheduled | ||
| 2014-03-06 08:01 | shankarb | fix_in_branch | => pi | ||
| 2014-03-06 11:22 | shankarb | Review Assigned To | => AugustoMauch | ||
| 2014-03-06 11:22 | shankarb | fix_in_branch | pi => | ||
| 2014-03-06 11:22 | shankarb | Issue Monitored: AugustoMauch | |||
| 2014-03-06 11:24 | hgbot | Checkin | |||
| 2014-03-06 11:25 | hgbot | Note Added: 0064901 | |||
| 2014-03-06 11:25 | hgbot | Status | scheduled => resolved | ||
| 2014-03-06 11:25 | hgbot | Resolution | open => fixed | ||
| 2014-03-06 11:25 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/7b3a543035a290bed343af1cfe290312caf04664 [^] | ||
| 2014-03-06 12:09 | AugustoMauch | Note Added: 0064908 | |||
| 2014-03-06 12:09 | AugustoMauch | Status | resolved => closed | ||
| 2014-03-06 12:09 | AugustoMauch | Fixed in Version | => PR14Q2 | ||
| 2014-03-07 05:25 | hudsonbot | Checkin | |||
| 2014-03-07 05:25 | hudsonbot | Note Added: 0064944 | |||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||