WSOD with invalid oAuth credentials

Created on 20 May 2024, 6 months ago
Updated 4 June 2024, 6 months ago

Problem/Motivation

If invalid oAuth credentials are provided, a WSOD is returned, rather than an error message.

This is because the catch in UPS->validateConfigurationForm() references:

      $form_state->setError($form['credentials']['client_id']);
      $form_state->setError($form['credentials']['secret']);

rather than:

      $form_state->setError($form['api_information']['client_id']);
      $form_state->setError($form['api_information']['secret']);
🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇺🇸United States TomTech

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024