Worked for me also (same as #53)
Drupal 10.3.1
Linkit 6.1.4
glenshewchuck → created an issue.
I was able to apply this patch on 10.3.1 and the media library button now opens the dialog.
After that I can search for media just fine and it returns from the media ui with the media id in the dialog. Looks good so far but if I click the green check, it does not insert the link and now the field with the media id in it gets garbled. If I click into that field, I get media not found.
We are having the same error and the patch in this issued solved it for now. https://www.drupal.org/project/drupal/issues/3449851 🐛 Replace LogicException with trigger_error in LangcodeRequiredIfTranslatableValues constraint RTBC
+1 for a new Release
The reason this patch is currently failing is that it only applies to 2.0.1 version not the 1.x. I'm not sure how to change the test.
@pareshpatel: I'm trying to implement the same thing. Do you have an example of your code for the drush command? I coded everything that @MegaChriz said but I'm unable to tie it all together in a command. Thx.