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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050588
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajorhave not tried2022-10-19 15:072022-12-28 16:23
Reportermeriem_azafView Statuspublic 
Assigned Tomeriem_azaf 
PrioritynormalResolutionfixedFixed in Version23Q1
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

0050588: Error shown in POS2 after updating the application

DescriptionWhen updating the application, if some registered ConfigurationSet has a Masterdata updateFunction that throws an error, a popup will appear showing this error and it will be impossible to login in the POS2 afterwards.
Steps To Reproduce1- Add this line " throw new Error('Test'); " in the function generateKeymapConfigurations.
2- Go to POS2.
3- Refresh the POS2.
4- Login.

An error shown.
TagsNo tags attached.
Attached Filespng file icon Screenshot from 2022-10-19 15-06-59.png [^] (88,391 bytes) 2022-10-19 15:07


png file icon Screenshot from 2022-10-19 13-32-59.png [^] (14,054 bytes) 2022-10-19 15:07


png file icon Selection_996.png [^] (69,431 bytes) 2022-10-19 16:34

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 005074322Q4.1 closedmeriem_azaf Error shown in POS2 after updating the application 
depends on backport 005074422Q3.3 closedmeriem_azaf Error shown in POS2 after updating the application 
related to defect 0051234 closedmeriem_azaf Cannot read properties of undefined (find) -> infinite loop and chrome crashes 

-  Notes
(0142366)
hgbot (developer)
2022-10-20 16:53

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/882 [^]
(0144722)
hgbot (developer)
2022-12-15 04:53

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/882 [^]
(0144723)
hgbot (developer)
2022-12-15 04:53

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: a5f615abae0b3fd375168853c6397d605eb4d14d
Author: Meriem Azaf <meriem.azaf@openbravo.com>
Date: 15-12-2022 04:47:01
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/a5f615abae0b3fd375168853c6397d605eb4d14d [^]

Fixes ISSUE-50588: Error shown in POS2 after updating the application

When updating the application, if some registered ConfigurationSet has a Masterdata updateFunction that throws an error, a popup will appear showing this error and it will be impossible
to login in the POS2 afterwards.

To fix this, we added a try catch to handle this problem if we have an error it will not break the application and the error will be shown in the console.

---
M web-jspack/org.openbravo.core2/src/core/ConfigurationSet.js
M web-jspack/org.openbravo.core2/src/core/Registry.js
---
(0145059)
guilleaer (manager)
2022-12-28 16:23

New mantis created related with this one:
https://issues.openbravo.com/view.php?id=51234 [^]

The error is shown but still terminal remains unusable

- Issue History
Date Modified Username Field Change
2022-10-19 15:07 meriem_azaf New Issue
2022-10-19 15:07 meriem_azaf Assigned To => Retail
2022-10-19 15:07 meriem_azaf File Added: Screenshot from 2022-10-19 15-06-59.png
2022-10-19 15:07 meriem_azaf Triggers an Emergency Pack => No
2022-10-19 15:07 meriem_azaf File Added: Screenshot from 2022-10-19 13-32-59.png
2022-10-19 15:08 meriem_azaf Assigned To Retail => meriem_azaf
2022-10-19 15:08 meriem_azaf Status new => scheduled
2022-10-19 16:27 meriem_azaf Summary Error shown in POS2 when we throw an exception in generateKeymapConfigurations function => Error shown in POS2 after updating the application
2022-10-19 16:27 meriem_azaf Description Updated View Revisions
2022-10-19 16:28 meriem_azaf Description Updated View Revisions
2022-10-19 16:31 meriem_azaf Description Updated View Revisions
2022-10-19 16:34 guilleaer File Added: Selection_996.png
2022-10-20 08:41 meriem_azaf Description Updated View Revisions
2022-10-20 16:53 hgbot Note Added: 0142366
2022-11-07 08:34 guilleaer Status scheduled => acknowledged
2022-11-07 08:34 guilleaer Status acknowledged => scheduled
2022-12-15 04:53 hgbot Resolution open => fixed
2022-12-15 04:53 hgbot Status scheduled => closed
2022-12-15 04:53 hgbot Note Added: 0144722
2022-12-15 04:53 hgbot Fixed in Version => 23Q1
2022-12-15 04:53 hgbot Note Added: 0144723
2022-12-23 10:20 jarmendariz Relationship added related to 0051234
2022-12-28 16:23 guilleaer Note Added: 0145059


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker