Created user component identifiers do not get indexed
Related to #786 (closed).
Noticed this with the action that creates a new user component. It does not add an L0.identifier
property for any entity in the created UC material so OntologicalRequirementEnforceRequest
will create them. However this happens after the initial UC material has been indexed by DependenciesRelation
and none of the changes performed by the enforcer are indexed because the request disables indexing for performance and possible loopback effect reasons.
A workaround for the specific user component creation problem is to add the identifiers at the same time as creating the UC in the first place.
This issue is dedicated to implementing the primary workaround only for user component creation. #788 is dedicated to actually fixing the indexing problem.