Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0020733 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| design defect | [Openbravo ERP] A. Platform | major | have not tried | 2012-06-12 12:45 | 2012-06-27 05:29 | |||
| Reporter | mtaal | View Status | public | |||||
| Assigned To | mtaal | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | 3.0MP13 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | ddef3520f532 | ||||
| Projection | none | ETA | none | Target Version | 3.0MP13 | |||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | ||||||||
| Review Assigned To | ||||||||
| OBNetwork customer | No | |||||||
| Web browser | ||||||||
| Modules | Core | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0020733: Json serialization: always the identifier properties of associated entities are serialized also, resulting in extra queries | |||||||
| Description | When doing json serialization the identifiers of associated objects are also serialized, for this the referenced object is read using a separate query. | |||||||
| Steps To Reproduce | Read and json serialize for example a sales order, the business partner is read in a separate query, improve performance by left joining all associations in case of json serialization. | |||||||
| Tags | Performance | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
Notes |
|
|
(0049971) hgbot (developer) 2012-06-21 12:03 |
Repository: erp/devel/pi Changeset: ddef3520f532c1a44e73122526954f13e793c821 Author: Martin Taal <martin.taal <at> openbravo.com> Date: Wed Jun 13 11:49:16 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/ddef3520f532c1a44e73122526954f13e793c821 [^] Fixes issue 20733: Json serialization: always the identifier properties of associated entities are serialized also, resulting in Join the associated objects in the query so that the identifier can be read without extra queries --- M modules/org.openbravo.service.json/src/org/openbravo/service/json/AdvancedQueryBuilder.java M modules/org.openbravo.service.json/src/org/openbravo/service/json/DataEntityQueryService.java M modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java M src-test/org/openbravo/test/dal/IssuesTest.java --- |
|
(0049976) hgbot (developer) 2012-06-21 12:03 |
Repository: erp/devel/pi Changeset: e05b39aac3571f79c38cae8b62441863e5561386 Author: Martin Taal <martin.taal <at> openbravo.com> Date: Thu Jun 14 13:33:57 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/e05b39aac3571f79c38cae8b62441863e5561386 [^] Related to issue 20733: Json serialization: always the identifier properties of associated entities are serialized also, resulting in extra queries Solve alias issue when filtering in grid --- M modules/org.openbravo.service.json/src/org/openbravo/service/json/AdvancedQueryBuilder.java --- |
|
(0050093) mtaal (viewer) 2012-06-26 15:40 |
The functionality is disabled for now as it results in a less performance for queries on large databases |
|
(0050142) hudsonbot (viewer) 2012-06-27 05:28 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cf3a7135839f [^] Maturity status: Test |
|
(0050146) hudsonbot (viewer) 2012-06-27 05:29 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cf3a7135839f [^] Maturity status: Test |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-06-12 12:45 | mtaal | New Issue | |
| 2012-06-12 12:45 | mtaal | Assigned To | => mtaal |
| 2012-06-12 12:45 | mtaal | Modules | => Core |
| 2012-06-12 12:45 | mtaal | OBNetwork customer | => No |
| 2012-06-12 15:59 | alostale | Tag Attached: Performance | |
| 2012-06-12 15:59 | alostale | Type | defect => design defect |
| 2012-06-21 12:03 | hgbot | Checkin | |
| 2012-06-21 12:03 | hgbot | Note Added: 0049971 | |
| 2012-06-21 12:03 | hgbot | Status | new => resolved |
| 2012-06-21 12:03 | hgbot | Resolution | open => fixed |
| 2012-06-21 12:03 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/ddef3520f532c1a44e73122526954f13e793c821 [^] |
| 2012-06-21 12:03 | hgbot | Checkin | |
| 2012-06-21 12:03 | hgbot | Note Added: 0049976 | |
| 2012-06-26 15:40 | mtaal | Note Added: 0050093 | |
| 2012-06-26 15:40 | mtaal | Status | resolved => closed |
| 2012-06-26 15:40 | mtaal | Fixed in Version | => 3.0MP13 |
| 2012-06-26 16:09 | alostale | Relationship added | related to 0020859 |
| 2012-06-27 05:28 | hudsonbot | Checkin | |
| 2012-06-27 05:28 | hudsonbot | Note Added: 0050142 | |
| 2012-06-27 05:29 | hudsonbot | Checkin | |
| 2012-06-27 05:29 | hudsonbot | Note Added: 0050146 | |
| Copyright © 2000 - 2009 MantisBT Group |