Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0019867 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
feature request | [Openbravo ERP] A. Platform | major | always | 2012-02-24 11:22 | 2022-02-01 08:08 | |||||||
Reporter | azabaleta | View Status | public | |||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | high | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | 3.0MP8 | SCM revision | ||||||||||
Review Assigned To | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0019867: Improvement of JSON web services object conversion | |||||||||||
Description | Now, the JSON output of our REST web services dont show child information of objects. See documentation http://wiki.openbravo.com/wiki/Projects/JsonRest/Developers_Manual [^] and the note: Note that list/one-to-many properties are not converted. So for example, when an invoice is converted to JSON then its invoice lines won't be present in the JSON string. The invoicelines can be retrieved with a separate JSON request. It would be nice to have the same output both in a normal REST xml output http://live.builds.openbravo.com/int-full-pgsql/ws/dal/Product [^] and JSON output http://live.builds.openbravo.com/int-full-pgsql/org.openbravo.service.json.jsonrest/Product [^] Thanks | |||||||||||
Steps To Reproduce | REST xml output http://live.builds.openbravo.com/int-full-pgsql/ws/dal/Product [^] and JSON output http://live.builds.openbravo.com/int-full-pgsql/org.openbravo.service.json.jsonrest/Product [^] | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0045438) mtaal (manager) 2012-02-24 11:27 |
For backward compatibility reasons the new behavior (also returning children) should only be done if an extra parameter is set in the url, this parameter can also define how many levels of children you want to get returned. |
Issue History | |||
Date Modified | Username | Field | Change |
2012-02-24 11:22 | azabaleta | New Issue | |
2012-02-24 11:22 | azabaleta | Assigned To | => alostale |
2012-02-24 11:22 | azabaleta | Modules | => Core |
2012-02-24 11:27 | mtaal | Note Added: 0045438 | |
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 |