Open davidzbiral opened 8 months ago
@jancimertel this was already fixed in the import script, right?
@davidzbiral
What about a situation when a C has a P entity inside a meta prop. In such a case, this P entity is being imported as well. But should the P entity get the a ref to the R: DISSINET Database (DDB1)
?
EDIT: Probably this situation never happens - C and A entities are not directly linked to anything else than C and A through props and relations (?)
@adammertel Good that you are thinking about this. If an entity is referenced from meta props, (meta) relations or (meta) references, then it should be imported, but the script should produse a log notifying this, and the owners (old and new) should get the list of entities (uuid & label) thus imported.
Regarding the UUID of the old deploy: exactly, such an entity should get a new UUID, but be referenced to the old one in the same way that you are using for Cs and As, i.e. through adding a Reference, and the UUID as character string in the V label.
We don't want connections to break. If you import Cs and As, then also import entities they link to in Refs and Metaprops and meta Relations. This in Persecutio is bad - WordNet reference (V entity) was lost: Correct behaviour is probably new UUID, but same string in the Value label, no?