Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0019867
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformmajoralways2012-02-24 11:222022-02-01 08:08
ReporterazabaletaView Statuspublic 
Assigned ToTriage Platform Base 
PriorityhighResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0MP8SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0019867: Improvement of JSON web services object conversion

DescriptionNow, 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 ReproduceREST 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 [^]
TagsNo 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
Powered by Mantis Bugtracker