Openbravo Issue Tracking System - Openbravo ERP | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0025969 | Openbravo ERP | A. Platform | public | 2014-03-12 09:56 | 2014-03-13 07:41 |
| Reporter | AugustoMauch | ||||
| Assigned To | AugustoMauch | ||||
| Priority | normal | Severity | major | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | 3.0PR14Q2 | |||
| Merge Request Status | |||||
| Review Assigned To | alostale | ||||
| OBNetwork customer | No | ||||
| Web browser | |||||
| Modules | Core | ||||
| Support ticket | |||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0025969: Bug in LinkToParentTreeDatasourceService when the parameters of a query are set | ||||
| Description | In this line [1] a parameter is added to the query if the variable fetchRoot is false. In this other line [2], regardless of the value of fetchRoot, the value of the parameter is added to the list that will be assigned to the query. If this function is called with fetchRoot = true, the '?' parameter will not be added to the query, but its value will be assigned as a parameter, resulting in an error. [1] https://code.openbravo.com/erp/devel/pi/file/95e63d963d4d/modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/LinkToParentTreeDatasourceService.java#l249 [^] [2] https://code.openbravo.com/erp/devel/pi/file/95e63d963d4d/modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/LinkToParentTreeDatasourceService.java#l256 [^] | ||||
| Steps To Reproduce | Check the links in the description box. | ||||
| Proposed Solution | Only set the value of the parameter if the parameter has been actually added. | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2014-03-12 09:56 | AugustoMauch | New Issue | |||
| 2014-03-12 09:56 | AugustoMauch | Assigned To | => AugustoMauch | ||
| 2014-03-12 09:56 | AugustoMauch | Modules | => Core | ||
| 2014-03-12 09:56 | AugustoMauch | OBNetwork customer | => No | ||
| 2014-03-12 09:56 | AugustoMauch | Triggers an Emergency Pack | => No | ||
| 2014-03-12 09:56 | AugustoMauch | Issue Monitored: shankarb | |||
| 2014-03-12 09:58 | hgbot | Checkin | |||
| 2014-03-12 09:58 | hgbot | Note Added: 0065088 | |||
| 2014-03-12 09:58 | hgbot | Status | new => resolved | ||
| 2014-03-12 09:58 | hgbot | Resolution | open => fixed | ||
| 2014-03-12 09:58 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/143dbdd74f2baf507122e13348324efb2e0caa98 [^] | ||
| 2014-03-12 17:35 | hudsonbot | Checkin | |||
| 2014-03-12 17:35 | hudsonbot | Note Added: 0065101 | |||
| 2014-03-13 07:41 | alostale | Review Assigned To | => alostale | ||
| 2014-03-13 07:41 | alostale | Note Added: 0065112 | |||
| 2014-03-13 07:41 | alostale | Status | resolved => closed | ||
| 2014-03-13 07:41 | alostale | Fixed in Version | => PR14Q2 | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||