PWA 1.6 hangs on log in and logout (must resubmit the form or refresh page)

Created on 17 March 2023, over 1 year ago
Updated 19 May 2023, over 1 year ago

Problem/Motivation

I have recently upgraded to PWA v1.6 and noticed an issue when logging in and out of Drupal. It seems that both the login and logout forms will "hang" on submit. I have to force a page refresh to finally get to the destination page.

There are no errors noted in the Drupal logs, nor any visible issues in PHP logs.

Steps to reproduce

  • Install a fresh Drupal 9.5+ site
  • Install the PWA module (via composer)
  • Enable "Progressive Web App" via the "Extend" page
  • Attempt to logout of the site. Should notice that the logout does not occur (hanging) until a forced page refresh.
  • Attempt a login. Should notice the same problem.

I have tried this test with a fresh Drupal 9.5.4 and 9.5.5 install.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

🇨🇦Canada joelseguin Ontario, Canada

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024