Issue 45675: Compliance Features Not Working on Safari Browser

issues
Status:closed
Assigned To:Guest
Type:Defect
Area:Compliance
Priority:3
Milestone:22.03
Opened:2022-06-13 13:56 by steveh
Changed:2022-06-30 14:02 by adam
Resolved:2022-06-30 13:19 by steveh
Resolution:Fixed
Related:44104
Support Ticket:45669
Pull Requests:
Closed:2022-06-30 13:19 by steveh
2022-06-13 13:56 steveh
Title»Compliance Features Not Working on Safari Browser
Assigned To»triage
Type»Defect
Area»Compliance
Priority»3
Milestone»22.03
Support Ticket»45669
Some of the Compliance features are not working with Safari, but they are working normally with Chrome. Features affected:

- Screen blur on logout.
- Modal pop up on logout.
- Server lockout after too many invalid login attempts

Repro:

On server version 22.3.7
- Go to Gear > Site > Admin Console.
- Under Premium Features, click Compliance Settings.
- Click the Session tab.
- Select: Show "Reload Page" modal and blur background.
- Click Save

To test:
- In Safari:
- Go to the Home project.
- Duplicate the browser tab.
- Sign out of one of the browser tabs.
- Go to the other browser tab and wait a few seconds.
- Nothing happens.

Expected:
- The screen should blur, and a modal should popup.

The user also reports broken behavior around invalid login attempts, but I have not attempted a repro of this.

2022-06-13 13:59 steveh
Nevermind about the server lockout issue. This was determined to be user error.

2022-06-27 09:44 hannahb
Assigned Totriage»adam
Notify»steveh
Adam, could you please estimate and assign back to triage? I'm thinking we'd want to make a 22.7 change if possible

2022-06-27 09:46 jeckels
FWIW, this works for me in Safari on develop.

2022-06-27 09:52 adam
Assigned Toadam»cnathe
Safari no longer supports Windows, so I'll have a hard time investigating. Are you a Mac user Cory?

2022-06-30 12:39 cnathe
Assigned Tocnathe»steveh
The session logout modal and background blurring are working for me on Safari when I tested with both 22.3 and trunk. I remember a ticket/issue going by somewhat recently where this feature wasn't working because of the server's websocket configuration settings. I'll try to track down that ticket/issue and update here accordingly.

2022-06-30 13:10 cnathe
Notifysteveh»steveh;cnathe;adam
Related»44104
I found the related ticket: 44104. Steve, it would be good for you to review that and then follow-up with the client here to see if they are getting the same JS console error messages that indicate that the websocket connection is or is not being made on page load.

2022-06-30 13:19 steveh
resolve as Fixed
Statusopen»resolved
This was finally determined to be user error. (They had been testing with an Admin account.)

2022-06-30 13:19 steveh
close
Statusresolved»closed
Assigned Tosteveh»Guest

2022-06-30 14:02 adam
I'm fine with the "user error" resolution, but the blurring and the modal should happen with admin accounts as well as non-admin.