Problem/Motivation
Like #3001828: field type integeris not a recognized reference type, or:How to entity_lookup a commerce_product I'm mapping to an integer field, but I don't want to restrict by bundle. In fact in one case there isn't a bundle type fields (it's not a bundleable entity). It shouldn't be a exception if the bundle isn't present, as it's not actually required.
Steps to reproduce
As per linked example, but without bundle_type and bundle.
Proposed resolution
Don't throw an exception if there is only the bundle type or bundle missing. Still throw an exception if the entity_type or value field are missing because those really are required.
Remaining tasks
Patch.
User interface changes
None.
API changes
None except you can uses a non-reference field without a bundle type.
Data model changes
None.
Issue fork migrate_plus-3481311
Show commands
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 #2
ekes commentedhttps://git.drupalcode.org/issue/migrate_plus-3481311/-/compare/6.0.x......
I'll find where you make a merge request again sooner or later.
Comment #6
heddnThanks for the fix.
Comment #7
heddn