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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049610
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSminoralways2022-06-20 17:572023-08-04 10:29
Reporterandre_montenegroView Statuspublic 
Assigned Tomeriem_azaf 
PrioritynormalResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0049610: [Key Map Editor] Unhandled Rejection full screen error if saving changes and login out

DescriptionIMPORTANT: This behavior has been reproduced only in Cypress tests.

Whenever any change to the product categories is saved and followed by a log out, POS2 displays (after the log out) a Unhandled Rejection screen with the following message:
 
"Cannot read properties of null (reading 'organization')
Steps To Reproduce- Log in POS
- Click "Store" icon in the lateral bar (5th button)
- Click "Keymap Editor"
- Click "View versions" for Main App Keymap line
- Click "View categories" button from "v1" version
- Click "Create Category"
- Type any name and click "Create"
- Click "Save" button
- Log out
TagsNo tags attached.
Attached Filespng file icon UnhandledRejection.png [^] (299,419 bytes) 2022-06-20 18:05
? file icon keyMapEditor_modifiedForIssue_49610.spec.js [^] (5,511 bytes) 2023-08-02 08:58
png file icon Screenshot_Issue49610_Cypress_Behavior.png [^] (258,348 bytes) 2023-08-02 09:02

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0153086)
andre_montenegro (developer)
2023-08-02 09:02
edited on: 2023-08-02 09:08

Updated error behavior: added screenshot and added a custom Cypress spec file.

Also, now preconditions has changed as Cypress version has been updated ,like the POS version. Now instead a full screen unhandled error, the following message is displayed in the console:

 Error: ConfigurationSet initialization fail with error: TypeError: Cannot destructure property 'organization' of 'n.Z.App.TerminalProperty.get(...)' as it is null.

(0153162)
hgbot (developer)
2023-08-03 14:10

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1996 [^]

- Issue History
Date Modified Username Field Change
2022-06-20 17:57 andre_montenegro New Issue
2022-06-20 17:57 andre_montenegro Assigned To => Retail
2022-06-20 17:57 andre_montenegro Triggers an Emergency Pack => No
2022-06-20 17:58 andre_montenegro Summary [Key Map Editor] Unhandled Rejection just after saving changes => [Key Map Editor] Unhandled Rejection full screen error if saving changes and login out
2022-06-20 18:05 andre_montenegro File Added: UnhandledRejection.png
2023-06-26 15:52 AugustoMauch Assigned To Retail => meriem_azaf
2023-08-02 08:58 andre_montenegro File Added: keyMapEditor_modifiedForIssue_49610.spec.js
2023-08-02 09:02 andre_montenegro Note Added: 0153086
2023-08-02 09:02 andre_montenegro File Added: Screenshot_Issue49610_Cypress_Behavior.png
2023-08-02 09:08 andre_montenegro Note Edited: 0153086 View Revisions
2023-08-03 14:10 hgbot Note Added: 0153162
2023-08-04 10:29 AugustoMauch Status new => scheduled


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker