It could very well be that the assets table contains leftovers from either documents or categories that do not longer exist in DOCman. It could also be that there are document asset entries pointing to no longer existing categories in DOCman (the case for this customer).
We should do our best for avoid the migrator from failing during the import step.
The solution
During the set_asset_parents step, we should 1st cleanup (as in deleting) all DOCman assets that are no longer pointing to a DOCman resource.
The problem
It could very well be that the assets table contains leftovers from either documents or categories that do not longer exist in DOCman. It could also be that there are document asset entries pointing to no longer existing categories in DOCman (the case for this customer).
We should do our best for avoid the migrator from failing during the import step.
The solution
During the set_asset_parents step, we should 1st cleanup (as in deleting) all DOCman assets that are no longer pointing to a DOCman resource.
This alone should solve it.
Support tickets