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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020661
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformminoralways2012-06-01 11:432022-02-01 08:08
ReporteriperdomoView Statuspublic 
Assigned ToTriage Platform Base 
PriorityurgentResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava versionOpenJDK 1.6.0_24
OS Version3.3.6-1-ARCHDatabase version9.1.3Ant version1.8.2
Product Version3.0MP11SCM revision 
Review Assigned To
Web browserGoogle Chrome
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020661: The JSON REST webservice should be able to retrieve the full entity including child objects

DescriptionThe 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 ReproduceCheck the description
Proposed SolutionPassing a parameter childLevel=true or includeChildObject=true to the GET request, the response must include the child object
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker