Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0021783 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Retail Modules] Web POS | major | always | 2012-09-28 10:48 | 2012-10-31 10:55 | |||
| Reporter | iperdomo | View Status | public | |||||
| Assigned To | adrianromero | |||||||
| Priority | urgent | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | 33d9ea5564d3 | ||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Linux 64 bit | Database | PostgreSQL | Java version | OpenJDK 1.6.0_24 | |||
| OS Version | 3.5.4-1-ARCH | Database version | 9.2.1 | Ant version | 1.8.2 | |||
| Product Version | SCM revision | |||||||
| Merge Request Status | ||||||||
| Review Assigned To | ||||||||
| OBNetwork customer | No | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0021783: Remove from the JSON reponse the data not used in the Web POS client | |||||||
| Description | When a developer defines a HQL like this one: "from Product" the ProcessHQLQuery uses the FULL entity resolving mode, this adds useless information in the resulting in a huge JSON response (client, organization, created, createdBy, updated, updatedBy) | |||||||
| Steps To Reproduce | See the amount of data transfered from the server to the client, e.g. ProductPrice With 75K products, the amount of data is ~60MB, just sending the required information is ~14MB (see the attached patch) | |||||||
| Proposed Solution | Modify the ProcessHQLQuery and filter out the audit fields, client and organization | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
Notes |
|
|
(0053021) hgbot (developer) 2012-10-03 17:48 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 33d9ea5564d39847988bdaf0b0bb97e035950d23 Author: Adrián Romero <adrianromero <at> openbravo.com> Date: Wed Oct 03 17:47:36 2012 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/33d9ea5564d39847988bdaf0b0bb97e035950d23 [^] Fixes issue 0021783: Remove from the JSON reponse the data not used in the Web POS client --- M src/org/openbravo/retail/posterminal/JSONRowConverter.java --- |
|
(0053382) hgbot (developer) 2012-10-16 17:18 |
Repository: erp/pmods/org.openbravo.retail.posterminal-discounts Changeset: 33d9ea5564d39847988bdaf0b0bb97e035950d23 Author: Adrián Romero <adrianromero <at> openbravo.com> Date: Wed Oct 03 17:47:36 2012 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-discounts/rev/33d9ea5564d39847988bdaf0b0bb97e035950d23 [^] Fixes issue 0021783: Remove from the JSON reponse the data not used in the Web POS client --- M src/org/openbravo/retail/posterminal/JSONRowConverter.java --- |
|
(0053655) adrianromero (viewer) 2012-10-24 17:28 |
Closed for RMP16 |
|
(0053867) hgbot (developer) 2012-10-31 09:36 |
Repository: erp/pmods/org.openbravo.retail.posterminal-gal Changeset: 33d9ea5564d39847988bdaf0b0bb97e035950d23 Author: Adrián Romero <adrianromero <at> openbravo.com> Date: Wed Oct 03 17:47:36 2012 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-gal/rev/33d9ea5564d39847988bdaf0b0bb97e035950d23 [^] Fixes issue 0021783: Remove from the JSON reponse the data not used in the Web POS client --- M src/org/openbravo/retail/posterminal/JSONRowConverter.java --- |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-09-28 10:48 | iperdomo | New Issue | |
| 2012-09-28 10:48 | iperdomo | Assigned To | => adrianromero |
| 2012-09-28 10:48 | iperdomo | File Added: ProductPrice.java.diff | |
| 2012-09-28 10:48 | iperdomo | OBNetwork customer | => No |
| 2012-10-03 17:48 | hgbot | Checkin | |
| 2012-10-03 17:48 | hgbot | Note Added: 0053021 | |
| 2012-10-03 17:48 | hgbot | Status | new => resolved |
| 2012-10-03 17:48 | hgbot | Resolution | open => fixed |
| 2012-10-03 17:48 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/33d9ea5564d39847988bdaf0b0bb97e035950d23 [^] |
| 2012-10-16 17:18 | hgbot | Checkin | |
| 2012-10-16 17:18 | hgbot | Note Added: 0053382 | |
| 2012-10-16 17:18 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/33d9ea5564d39847988bdaf0b0bb97e035950d23 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-discounts/rev/33d9ea5564d39847988bdaf0b0bb97e035950d23 [^] |
| 2012-10-24 17:28 | adrianromero | Note Added: 0053655 | |
| 2012-10-24 17:28 | adrianromero | Status | resolved => closed |
| 2012-10-31 09:36 | hgbot | Checkin | |
| 2012-10-31 09:36 | hgbot | Note Added: 0053867 | |
| 2012-10-31 09:36 | hgbot | Status | closed => resolved |
| 2012-10-31 09:36 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-discounts/rev/33d9ea5564d39847988bdaf0b0bb97e035950d23 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-gal/rev/33d9ea5564d39847988bdaf0b0bb97e035950d23 [^] |
| 2012-10-31 10:55 | adrianromero | Status | resolved => closed |
| Copyright © 2000 - 2009 MantisBT Group |