Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0029428 | Openbravo ERP | A. Platform | public | 2015-03-24 10:01 | 2015-07-02 08:52 |
|
| Reporter | caristu | |
| Assigned To | alostale | |
| Priority | immediate | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 5 | OS Version | |
| Product Version | 3.0PR14Q2.6 | |
| Target Version | 3.0PR15Q1.3 | Fixed in Version | 3.0PR15Q1.3 | |
| Merge Request Status | |
| Review Assigned To | AugustoMauch |
| OBNetwork customer | OBPS |
| Web browser | |
| Modules | Core |
| Support ticket | 35085 |
| Regression level | Production - Confirmed Stable |
| Regression date | |
| Regression introduced in release | |
| Regression introduced by commit | |
| Triggers an Emergency Pack | No |
|
| Summary | 0029428: Distinct parameter is not working in JSON REST web services |
| Description | Distinct parameter is not working in JSON REST web services. An error like the following is thrown when using it:
{"response":{"data":[{"response":{"status":-1,"error":{"message":"Exception when creating query select me from Product as me where ( exists (select 1 from Product inner join null.organization as i where i = me and e.organization.id in ('E443A31992CB4635AFCAEABE7183CE85', '0', 'DC206C91AA6A4897B44DA897936E0EC3', '7BABA5FF80494CAFA54DEBD22EC46F01', 'BAE22373FEBE4CCCA24517E23F0C8A48', '19404EAD144C49A0AF37D54377CF452D', 'B843C30461EA4501935CB1D125C9C25A', '2E60544D37534C0B89E765FE29BC0B43') and e.client.id in ('23C59575B9CF467C9620760EB255B389', '0')) )order by me.name","messageType":"Error","title":""},"totalRows":0}} |
| Steps To Reproduce | 1) Do the following web service call
https://livebuilds.openbravo.com/erp_pi_pgsql/org.openbravo.service.json.jsonrest/Product?_distinct=organization [^]
Notice that the error is returned |
| Proposed Solution | |
| Additional Information | |
| Tags | Approved |
| Relationships | | blocks | defect | 0029385 | | closed | alostale | Distinct parameter is not working in JSON REST web services |
|
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2015-03-26 12:01 | alostale | Type | defect => backport |
| 2015-03-26 12:01 | alostale | Target Version | => 3.0PR15Q1.3 |
| 2015-03-26 15:38 | dmitry_mezentsev | Tag Attached: Approved | |
| 2015-04-07 08:01 | alostale | Review Assigned To | => AugustoMauch |
| 2015-04-07 08:28 | hgbot | Checkin | |
| 2015-04-07 08:28 | hgbot | Note Added: 0076347 | |
| 2015-04-07 08:28 | hgbot | Status | scheduled => resolved |
| 2015-04-07 08:28 | hgbot | Resolution | open => fixed |
| 2015-04-07 08:28 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR15Q1.3/rev/b1547740b5a2f3b8bff919777134ff7bf68fa9d2 [^] |
| 2015-04-08 18:30 | AugustoMauch | Note Added: 0076388 | |
| 2015-04-08 18:30 | AugustoMauch | Status | resolved => closed |
| 2015-04-08 18:30 | AugustoMauch | Fixed in Version | => 3.0PR15Q1.3 |
| 2015-07-02 08:52 | alostale | Assigned To | platform => alostale |