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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021783
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2012-09-28 10:482012-10-31 10:55
ReporteriperdomoView Statuspublic 
Assigned Toadrianromero 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision33d9ea5564d3
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava versionOpenJDK 1.6.0_24
OS Version3.5.4-1-ARCHDatabase version9.2.1Ant version1.8.2
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021783: Remove from the JSON reponse the data not used in the Web POS client

DescriptionWhen 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 ReproduceSee 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 SolutionModify the ProcessHQLQuery and filter out the audit fields, client and organization
TagsNo tags attached.
Attached Filesdiff file icon ProductPrice.java.diff [^] (1,885 bytes) 2012-09-28 10:48 [Show Content]

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