MI-DPLA / combine

Combine /kämˌbīn/ - Metadata Aggregator Platform
MIT License
26 stars 11 forks source link

stateio: on import if Org skipped, but RG created, failure #352

Closed ghukill closed 5 years ago

ghukill commented 5 years ago

Error AttributeError: 'NoneType' object has no attribute 'object' on 8797 from models.py:

rg_match = RecordGroup.objects\
    .filter(name=rg.object.name, organization__name=self._get_django_model_instance(self.import_manifest['pk_hash']['orgs'][rg.object.organization_id], Organization).object.name).order_by('id')
ghukill commented 5 years ago

Fixed.