Closed (fixed)
Project:
Media Pixabay
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Aug 2023 at 12:40 UTC
Updated:
15 Sep 2023 at 11:04 UTC
Jump to comment: Most recent
The Media pixabay api needs to have an api key set to a default value that is an empty string.
You should see a "Oops, something went wrong. Check your browser's developer console for more details." error.
Allow setting up an empty string for api key via config install.
Write an update hook for those who already have the module installed and enabled.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
markman4897 commentedI've added the mentioned update hook and also default configuration yml.
Comment #5
markman4897 commentedComment #6
deaom commentedThe update hook was setting the default value to null, not empty string, it needs to be empty string, so updated that part of the code. In my POV can be merged, but because my change was last I'll leave it to needs review. The #3297621: Automated Drupal 10 compatibility fixes needs to be merged for test for D10 to pass, the config install is also added there.
Comment #7
slogar32 commentedComment #9
slogar32 commentedComment #10
slogar32 commented