How it works
Currently, a task links textual entities with identifiers to MEF. This task checks if the entity_type in the ILS data corresponds to the entity type in MEF. This is not needed.
Improvement suggestion
When linking to a MEF record by identifier, do not take the entity type into account, the identifier should be enough.
Warning: in the contribution if the MEF entity is the wrong type, it should still raise a validation error and be signaled to metadata admin.
How it works
Currently, a task links textual entities with identifiers to MEF. This task checks if the entity_type in the ILS data corresponds to the entity type in MEF. This is not needed.
Improvement suggestion
When linking to a MEF record by identifier, do not take the entity type into account, the identifier should be enough.
Warning: in the
contributionif the MEF entity is the wrong type, it should still raise a validation error and be signaled to metadata admin.