Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045572Retail ModulesWeb POSpublic2020-12-11 14:492020-12-28 07:28
marvintm 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
 
RR20Q4.1RR20Q4.1 
marvintm
No
0045572: ClientModel request should return 304 http code if it did not change
Currently 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.
Access 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.
No tags attached.
blocks defect 0045558 closed ranjith_qualiantech_com ClientModel request should return 304 http code if it did not change 
Issue History
2020-12-14 11:56shuehnerTypedefect => backport
2020-12-14 11:56shuehnerTarget Version => RR20Q4.1
2020-12-23 03:47ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2020-12-23 04:05hgbotResolutionopen => fixed
2020-12-23 04:05hgbotStatusscheduled => resolved
2020-12-23 04:05hgbotFixed in Version => RR20Q4.1
2020-12-23 04:05hgbotNote Added: 0125047
2020-12-28 07:28marvintmReview Assigned To => marvintm
2020-12-28 07:28marvintmStatusresolved => closed

Notes
(0125047)
hgbot   
2020-12-23 04:05   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 0dc764aa447df412b678ea7b8f191922bedcc758
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2020-12-23T08:35:22+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/0dc764aa447df412b678ea7b8f191922bedcc758 [^]

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

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