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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045558
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2020-12-11 14:492020-12-17 03:32
ReportermarvintmView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR21Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0045558: ClientModel request should return 304 http code if it did not change

DescriptionCurrently the ClientModel request is cached in the server, but it always returns the full definition of the model even if the content itself didn't change compared to the last time it was requested.

An Etag should be defined for it, so that if the content did not change, a 304 http code is returned, and we don't consume bandwidth needlessly.
Steps To ReproduceAccess the WebPOS.

Reload the page immediately. Verify that a request to the ClientModel servlet is done again, and the content is returned by the server. This part should be improved, so that the content is not fully returned if it is the same.
TagsNo tags attached.
Attached Filesdiff file icon 45558_20Q1_mobilecore.diff [^] (2,176 bytes) 2020-12-17 03:32 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0045572RR20Q4.1 closedranjith_qualiantech_com ClientModel request should return 304 http code if it did not change 
depends on backport 0045573RR20Q3.3 closedranjith_qualiantech_com ClientModel request should return 304 http code if it did not change 

-  Notes
(0124845)
hgbot (developer)
2020-12-16 06:45

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/111 [^]
(0124875)
hgbot (developer)
2020-12-16 09:34

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/111 [^]
(0124876)
hgbot (developer)
2020-12-16 09:34

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 6d78c47a5a25ecddd3d1d920f5f09956aa28cf50
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2020-12-16T08:34:14+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/6d78c47a5a25ecddd3d1d920f5f09956aa28cf50 [^]

Fixed ISSUE-45558: Updated Etag to hash of ClientModel content

---
M src/org/openbravo/mobile/core/model/ClientModelComponent.java
---

- Issue History
Date Modified Username Field Change
2020-12-11 14:49 marvintm New Issue
2020-12-11 14:49 marvintm Assigned To => Retail
2020-12-11 14:49 marvintm Triggers an Emergency Pack => No
2020-12-11 14:57 marvintm Resolution time => 1609369200
2020-12-14 11:56 shuehner Status new => scheduled
2020-12-15 04:54 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2020-12-16 06:45 hgbot Note Added: 0124845
2020-12-16 09:34 hgbot Note Added: 0124875
2020-12-16 09:34 hgbot Resolution open => fixed
2020-12-16 09:34 hgbot Status scheduled => closed
2020-12-16 09:34 hgbot Fixed in Version => RR21Q1
2020-12-16 09:34 hgbot Note Added: 0124876
2020-12-17 03:32 ranjith_qualiantech_com File Added: 45558_20Q1_mobilecore.diff


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker