Consumer Client ID not set

Created on 11 January 2023, over 2 years ago
Updated 25 April 2023, almost 2 years ago

Only started using this module today but it appears that the installer does not set a client_id on the consumer it creates. With this left as NULL the consumers UI crashes at /admin/config/services/consumer with the error

TypeError: Drupal\consumers\Entity\Consumer::getClientId(): Return value must be of type string, null returned in Drupal\consumers\Entity\Consumer->getClientId() (line 252 of /var/www/html/web/modules/contrib/consumers/src/Entity/Consumer.php)

Setting the client id manually fixes this.

A unique client_id is also required by the latest version (1.6) of next-drupal from Chapter Three as that now references the consumer by client_id rather than UUID.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom dippers

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024