When importing data, it is normally necessary to do it in a couple steps:
Read the MARC data into a Marc object
"import" the marc data with marc.import
Associate the marc to a Muscat model
Save the muscat model to create a new item on the DB
The marc.import step will try to create all the missing links, and potentially will add new items to the database, for example if a new person is missing it will create it and the link.
To implement a full dry-run for validation, MarcNode import needs to be patched so the records created are logged and not created, this way it is possible to see what would be created.
The marc data then should not be associated to a muscat model.
When importing data, it is normally necessary to do it in a couple steps:
The marc.import step will try to create all the missing links, and potentially will add new items to the database, for example if a new person is missing it will create it and the link. To implement a full dry-run for validation, MarcNode import needs to be patched so the records created are logged and not created, this way it is possible to see what would be created. The marc data then should not be associated to a muscat model.