🇬🇧United Kingdom @cwales95

Account created on 26 December 2019, over 5 years ago
#

Recent comments

🇬🇧United Kingdom cwales95

Hi, this issue doesn't seem to be fixed.

The issue persists because the code in pet_substitutions expects $params['language'] to be set but $params['language'] is set directly after pet_substitutions is called.

Can we reopen this issue?

🇬🇧United Kingdom cwales95

I've provided a quick patch that fixes the issues I addressed. initSdk() returns NULL if no keys are provided and the button to add an account no longer shows if the SDK cannot be initialised. It shows a message explaining that keys need added before this can happen.

🇬🇧United Kingdom cwales95

I can confirm this is still an issue. The patch in #8 seemingly works.

🇬🇧United Kingdom cwales95

Something has changed during the code execution I think. preSave is being called on the Profile before the User entity is saved i.e before a uid is available.

🇬🇧United Kingdom cwales95

Just came across this myself on Drupal 10.1.0 and profile version 8.x-1.7.

Production build 0.71.5 2024