When your RA (6.1.0) session times out a type error on the return of getCurrentRequestUri() is generated.
Reproduce
- Log in as a user to the RA portal
- Let the session time out
- Click something in the RA portal / reload it
- Be presented with "Internal server error" Symfony screen
Logging shows:
{"message":"Uncaught PHP Exception TypeError: \"Surfnet\\StepupRa\\RaBundle\\Security\\Authentication\\Session\\SessionStorage::getCurrentRequestUri(): Return value must be of type string, null returned\" at SessionStorage.php line 94","context":{"exception":{"class":"TypeError","message":"Surfnet\\StepupRa\\RaBundle\\Security\\Authentication\\Session\\SessionStorage::getCurrentRequestUri(): Return value must be of type string, null returned","code":0,"file":"/var/www/html/src/Surfnet/StepupRa/RaBundle/Security/Authentication/Session/SessionStorage.php:94"}},"level":500,"level_name":"CRITICAL"}
When your RA (6.1.0) session times out a type error on the return of
getCurrentRequestUri()is generated.Reproduce
Logging shows:
{"message":"Uncaught PHP Exception TypeError: \"Surfnet\\StepupRa\\RaBundle\\Security\\Authentication\\Session\\SessionStorage::getCurrentRequestUri(): Return value must be of type string, null returned\" at SessionStorage.php line 94","context":{"exception":{"class":"TypeError","message":"Surfnet\\StepupRa\\RaBundle\\Security\\Authentication\\Session\\SessionStorage::getCurrentRequestUri(): Return value must be of type string, null returned","code":0,"file":"/var/www/html/src/Surfnet/StepupRa/RaBundle/Security/Authentication/Session/SessionStorage.php:94"}},"level":500,"level_name":"CRITICAL"}