accessibility-exchange / platform

The Accessibility Exchange platform.
https://github.com/orgs/accessibility-exchange/projects/2/views/8
BSD 3-Clause "New" or "Revised" License
4 stars 10 forks source link

500 error returned when trying to manage participants for an engagement #2166

Closed jobara closed 6 months ago

jobara commented 6 months ago

Prerequisites

Describe the bug

This was reported on the production site. It is only affecting a specific engagement. Originally it was only when navigating to the "Access needs" tab of the manage participants page. After adding an additional user it is now also affecting the Manage Participants page itself.

This issue was not reproduced on the staging site, and also not with on a local dev environment.

What's also curious is that this doesn't trigger a Flare error report.

To Reproduce

Steps to reproduce the behavior:

  1. Login with the IRIS org account
  2. View the survey engagement
  3. Open the manage participants page
  4. See the 500 error page

Expected behavior

The page should load without any errors.

Screenshots

a screenshot with the Access Needs tab highlighted A screenshot of the 500 error page returned for the Access Needs page A screenshot of the 500 error page returned for the Manage Participants page.
jobara commented 6 months ago

I managed to get something locally that returns an error like preg_match(): Compilation failed: regular expression is too large at offset. Looks like passing in the model to localizedRouteIs() method causes this. The model doesn't seem to need to be passed in here, perhaps this was a copy/past error.