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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046439
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Coremajorsometimes2021-04-30 12:352021-05-05 07:59
Reportergorka_gilView Statuspublic 
Assigned Togorka_gil 
PriorityhighResolutionfixedFixed in Version
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

0046439: Reset app state on sources update

DescriptionRight now the app state is not recreated when sources updates,
this lead sometimes to errors like:
  Cannot read property 'id' of undefined

The state should be reset, deleted and recreated based on new sources.
Steps To ReproduceNeeded to be in production mode: in tomcat , so service workers are active
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0046441TAP closedgorka_gil Reset app state on sources update 
has duplicate defect 0046335 closedjmelin JIRA 1748 - Message 'ActionCanceled' on POS after application update 
related to defect 0046498 closedalostale New sources are not updated till doing a reload (F5) in the pos 
related to defect 0046499 closedalostale After updating the sources, the old app can be used for few seconds 

-  Notes
(0127775)
hgbot (developer)
2021-05-04 17:05

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/487 [^]
(0127801)
hgbot (developer)
2021-05-05 07:59

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 406acdf1842498a7124a7ad429ae9cdeedd8000a
Author: Gorka Gil <gorka.gil@openbravo.com>
Date: 2021-05-05T05:41:15+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/406acdf1842498a7124a7ad429ae9cdeedd8000a [^]

Fixes ISSUE-46439: reset state on sources update

This fix only affect to production (tomcat and service workers)
In development (npm start with no service workers) the state is mantained after update sources

---
M web-jspack/org.openbravo.core2/src/registerServiceWorker.js
---
(0127802)
hgbot (developer)
2021-05-05 07:59

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/487 [^]

- Issue History
Date Modified Username Field Change
2021-04-30 12:35 gorka_gil New Issue
2021-04-30 12:35 gorka_gil Assigned To => gorka_gil
2021-04-30 12:35 gorka_gil Triggers an Emergency Pack => No
2021-04-30 13:32 marvintm Status new => scheduled
2021-05-03 09:37 guilleaer Relationship added related to 0046335
2021-05-03 09:37 guilleaer Relationship replaced has duplicate 0046335
2021-05-04 17:05 hgbot Note Added: 0127775
2021-05-04 18:52 gorka_gil Relationship added related to 0046498
2021-05-04 19:01 gorka_gil Steps to Reproduce Updated View Revisions
2021-05-04 19:01 gorka_gil Relationship added related to 0046499
2021-05-05 07:59 hgbot Resolution open => fixed
2021-05-05 07:59 hgbot Status scheduled => closed
2021-05-05 07:59 hgbot Note Added: 0127801
2021-05-05 07:59 hgbot Note Added: 0127802


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker