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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057755
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Coremajoralways2025-01-24 12:552025-02-13 18:13
ReporteraaroncaleroView Statuspublic 
Assigned ToTriage Platform Base 
PriorityhighResolutionopenFixed in Version
StatusscheduledFix 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

0057755: 'Application Locked' popup can be bypassed before the first login is done

DescriptionCore2-based applications have a mechanism to block the page if the code detects that the same url has been opened in a different tab[1]. When that situation is detected, a popup is opened, blocking the screen and preventing further action in that tab.

That popup can fail to be opened if current tab is on the login screen, and no login has been performed yet: a js error is raised while trying to get the label to be displayed in the popup:
hook.js:608 Uncaught TypeError: Cannot read properties of undefined (reading 'language_string');



[1] https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/blob/master/web-jspack/org.openbravo.core2/src/core/user-interface/BrowserTab.js?ref_type=heads [^]
Steps To ReproduceIn a POS2 environment:
Copy the url of the application and close all POS tabs.
Open the first tab with the copied url and open the chrome console.
Open the second tab with the copied url.
Verify that the first tab now shows an error in the console.
Verify that it is now possible to log in from both tabs
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 005797425Q1 scheduledTriage Platform Base 'Application Locked' popup can be bypassed before the first login is done 
depends on backport 005797524Q4.1 scheduledTriage Platform Base 'Application Locked' popup can be bypassed before the first login is done 
Not all the children of this issue are yet resolved or closed.

-  Notes
(0175618)
hgbot (developer)
2025-02-13 18:13

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1768 [^]

- Issue History
Date Modified Username Field Change
2025-01-24 12:55 aaroncalero New Issue
2025-01-24 12:55 aaroncalero Assigned To => Triage Platform Base
2025-01-24 12:55 aaroncalero Triggers an Emergency Pack => No
2025-02-13 10:32 AugustoMauch Status new => scheduled
2025-02-13 18:13 hgbot Note Added: 0175618


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker