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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048291
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POSminorhave not tried2021-12-21 11:072022-02-01 11:17
ReportercbernerView Statuspublic 
Assigned Tocberner 
PrioritynormalResolutionfixedFixed in VersionRR22Q2
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

0048291: Session should automatically show a dialog previous to session expiration

DescriptionA dialog should appear previous to session expiration, so the user may choose to continue working or get logged out automatically.

For more information, follow this project documentation: https://docs.google.com/document/d/1cVJYom1r3H7MEw6RTUEdeViVgmcSbrOzDKcS0ep5fX0/edit#heading=h.7nz256v4hsmj [^]
Steps To Reproduce-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0133870)
hgbot (developer)
2021-12-21 11:14

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/315 [^]
(0133871)
hgbot (developer)
2021-12-21 11:15

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/681 [^]
(0134686)
hgbot (developer)
2022-01-31 18:04

Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/162 [^]
(0134696)
hgbot (developer)
2022-02-01 11:17

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/315 [^]
(0134697)
hgbot (developer)
2022-02-01 11:17

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: a6fe16c2fd9db259be753340d6f339e1d23800d3
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 01-02-2022 11:11:17
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/a6fe16c2fd9db259be753340d6f339e1d23800d3 [^]

Fixes FR-48291: Session should automatically show a dialog previous to session expiration

This adds a dialog and a countdown two minutes prior to session
expiration. This dialog is only shown if the user didn't do any request
to backend during the session timeout interval(by default 60 mins).

This also adds countdowns on Unrecoverable Session and Session Expired
dialogs, prompting the user to choose one of the options of the dialog
in a 2 minutes window, if not done in that time, it will automatically
log out the user.

---
A web/org.openbravo.mobile.core/app/model/business-object/remote-server/actions/SetExpiredSession.js
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src/org/openbravo/mobile/core/MobileCoreComponentProvider.java
M web-test/integration/remote-server/BackendServer.test.js
M web-test/integration/remote-server/RemoteServer.test.js
M web/org.openbravo.mobile.core/app/integration/remote-server/BackendServer.js
M web/org.openbravo.mobile.core/app/integration/remote-server/RemoteServer.js
M web/org.openbravo.mobile.core/app/util/Security.js
M web/org.openbravo.mobile.core/app/view/DialogUIHandler.js
M web/org.openbravo.mobile.core/assets/css/obmobc-main.css
M web/org.openbravo.mobile.core/source/component/ob-terminal-component.js
---
(0134698)
hgbot (developer)
2022-02-01 11:17

Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: e913551f9db2035440206d4ae167f6b7e96dbae1
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 01-02-2022 11:16:05
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/e913551f9db2035440206d4ae167f6b7e96dbae1 [^]

Related to FR-48291: Fix offline tests for automatic session logout project

Tests on offline don't need to have the logic for unrecoverable session
tested, so that's skipped on this tests.
Changes done:
- Updated login again header title check to check
dynamicConfirmationPopup_header instead of loginAgainDialog_header and
check for "Session Expired" instead of "Online" as title
- Updated login again enyo button component to be tapped from
footer_modalDialogButton2 to confirmationPopup_btnLog In Again which is
the button that appears in confirmation dialog for login again
- Added try/finally blocks to set and remove the property
OBMOBC_DisableSessionTimeoutDialog on several tests of login offline
suite

---
M src-test/org/openbravo/test/mobile/retail/mobilecore/selenium/TestIdCore.java
M src-test/org/openbravo/test/mobile/retail/mobilecore/selenium/terminals/MobileCoreTerminalHelper.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/terminals/WebPOSTerminalHelper.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineAllowedFlows.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineAllowedFlowsWait.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineCashmanagement.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineCashmanagementWait.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineCashmanagementWaitNoForce.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineCashup.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineCashupWait.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineCreateBP.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineCreateBPWait.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineSimplesale.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineSimplesaleWait.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/VerifyCustomerSearchKeySequenceOffline.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/VerifyOfflineModeNoForce.java
---
(0134699)
hgbot (developer)
2022-02-01 11:17

Merge request merged: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/162 [^]
(0134700)
hgbot (developer)
2022-02-01 11:17

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: e0bdecd85795091373ffee20bd030b65aaf000f8
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 01-02-2022 11:15:12
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/e0bdecd85795091373ffee20bd030b65aaf000f8 [^]

Related to FR-48291: Session should automatically show a dialog previous to session expiration

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web-jspack/org.openbravo.core2/src/components/BaseDialog/BaseDialog.jsx
M web-jspack/org.openbravo.core2/src/components/ConfirmationDialog/ConfirmationDialog.jsx
M web-jspack/org.openbravo.core2/src/components/StandardDialog/StandardDialog.jsx
M web-jspack/org.openbravo.core2/src/components/StandardDialog/StandardDialog.scss
M web-jspack/org.openbravo.core2/src/components/StatusBar/ServerStatusButton.jsx
M web-jspack/org.openbravo.core2/src/components/Translate/Translate.jsx
---
(0134701)
hgbot (developer)
2022-02-01 11:17

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

- Issue History
Date Modified Username Field Change
2021-12-21 11:07 cberner New Issue
2021-12-21 11:07 cberner Assigned To => cberner
2021-12-21 11:07 cberner Triggers an Emergency Pack => No
2021-12-21 11:07 cberner Status new => scheduled
2021-12-21 11:14 hgbot Note Added: 0133870
2021-12-21 11:15 hgbot Note Added: 0133871
2022-01-31 18:04 hgbot Note Added: 0134686
2022-02-01 11:17 hgbot Note Added: 0134696
2022-02-01 11:17 hgbot Resolution open => fixed
2022-02-01 11:17 hgbot Status scheduled => closed
2022-02-01 11:17 hgbot Fixed in Version => RR22Q2
2022-02-01 11:17 hgbot Note Added: 0134697
2022-02-01 11:17 hgbot Note Added: 0134698
2022-02-01 11:17 hgbot Note Added: 0134699
2022-02-01 11:17 hgbot Note Added: 0134700
2022-02-01 11:17 hgbot Note Added: 0134701


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker