Bug 1007481 - Source of login screen appears in error dialog after server restart
Summary: Source of login screen appears in error dialog after server restart
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER5
: 6.0.0
Assignee: Alexandre Porcelli
QA Contact: Radovan Synek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-12 14:49 UTC by Radovan Synek
Modified: 2014-08-06 20:15 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:15:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
error screen (167.37 KB, image/png)
2013-09-12 14:49 UTC, Radovan Synek
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 999876 0 medium CLOSED Ugly, unformatted error pop-ups with stacktraces 2021-02-22 00:41:40 UTC

Internal Links: 999876

Description Radovan Synek 2013-09-12 14:49:13 UTC
Created attachment 796905 [details]
error screen

When the user is logged in and the server has been restarted in background...

Steps to Reproduce:
1. log into business-central
2. go to Authoring -> Asset repository
3. restart the EAP
4. try to upload any jar

Moreover, the user is unable to work with the application - even to return to the home page. only logout or refreshing whole page in the browser works and gets the user to correct login screen.

Version-Release number of selected component (if applicable):
BRMS-6.0.0.ER2

Actual results:
error dialog appears containing HTML src of login screen

Comment 4 Maciej Swiderski 2013-10-31 18:01:52 UTC
I believe that this is expected behavior that after server restart http session is gone and all data about authenticated users is lost and thus none of the operations work except those that are going via regular servlets where lost session is detected and thus redirected to logon form.
Looks like there is an issue with errai/uberfire to detect session lost/expiration and act accordingly.

Comment 5 Alexandre Porcelli 2013-11-02 01:21:59 UTC
Bug fixed and pushed to Uberfire on master and 0.3.x branches:

https://github.com/droolsjbpm/uberfire/commit/73116682
https://github.com/droolsjbpm/uberfire/commit/4da1f5e7

As Maciej pointed, it's expected that by default user have to login again. This fix detects a problem with server and presents an ErrorPopup. Once user presses OK (only option) the application refresh itself.

Comment 6 Radovan Synek 2013-12-03 13:50:27 UTC
Verified on BRMS-6.0.0.ER5

Comment 7 Radovan Synek 2014-03-18 15:38:21 UTC
qe_test_coverage: UX issue


Note You need to log in before you can comment on or make changes to this bug.