Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0020661 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
feature request | [Openbravo ERP] A. Platform | minor | always | 2012-06-01 11:43 | 2022-02-01 08:08 | |||||||
Reporter | iperdomo | View Status | public | |||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | urgent | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | OpenJDK 1.6.0_24 | |||||||
OS Version | 3.3.6-1-ARCH | Database version | 9.1.3 | Ant version | 1.8.2 | |||||||
Product Version | 3.0MP11 | SCM revision | ||||||||||
Review Assigned To | ||||||||||||
Web browser | Google Chrome | |||||||||||
Modules | Core | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0020661: The JSON REST webservice should be able to retrieve the full entity including child objects | |||||||||||
Description | The XML and JSON REST webservices don't behave in a consistent manner. * If you make a GET request to /openbravo/ws/dal/Product/{id} you'll get the full Product entity including the child entities. * If you make the same request to the JSON ones, /openbravo/org.openbravo.service.datasource/Product/{id} you'll get only the Product entity The reason if this behavior is that the main consumer of this services is the User Interface and we don't required the full object since related/child entities are shown in a different tab. | |||||||||||
Steps To Reproduce | Check the description | |||||||||||
Proposed Solution | Passing a parameter childLevel=true or includeChildObject=true to the GET request, the response must include the child object | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Issue History | |||
Date Modified | Username | Field | Change |
2012-06-01 11:43 | iperdomo | New Issue | |
2012-06-01 11:43 | iperdomo | Assigned To | => alostale |
2012-06-01 11:43 | iperdomo | Web browser | => Google Chrome |
2012-06-01 11:43 | iperdomo | Modules | => Core |
2017-04-10 14:37 | alostale | Assigned To | alostale => platform |
2022-02-01 08:08 | alostale | Assigned To | platform => Triage Platform Base |
Copyright © 2000 - 2009 MantisBT Group |