albionbrown → created an issue.
Getting the same for 4.2.7 and can confirm MR works.
Here's a patch for the meantime, but this would be good to get merged soon.
After reading into that I agree. I'll close this issue and pursue that instead.
I'm glad I came across this. I'd experienced the same issue and logged an error on the Dynamic Entity Reference module.
I'd been advised to look into using the implementation of
https://www.drupal.org/project/drupal/issues/3057545
🐛
ResourceTypeRepository wrongly assumes that all entity reference fields have the setting "target_type"
Fixed
.
Fixed patch issue
I've created an initial patch for this.
AlbionBrown → created an issue.
I made a mistake in my comments above. I hadnt realised I'd tried patch #16 some time ago and I already had the changes so thought the module's been updated include some of the changes. Patch #16 is still the correct one here. Sorry for spamming this thread!
I broke the patch file naming convention, so added another patch file update.
Update patch - small correction.
Version 2.0.1 of the module includes lots of code that patch #16 introduces. I've cleaned the patch down to the last remaining change.
This can be closed now, it's been too long for me to remember what the problem and solution was.