diff --git a/lib/ontologies_linked_data/models/ontology_submission.rb b/lib/ontologies_linked_data/models/ontology_submission.rb index 23cd5927..48365255 100644 --- a/lib/ontologies_linked_data/models/ontology_submission.rb +++ b/lib/ontologies_linked_data/models/ontology_submission.rb @@ -1026,7 +1026,7 @@ def process_submission(logger, options={}) status = LinkedData::Models::SubmissionStatus.find("OBSOLETE").first begin - generate_obsolete_classes(logger, file_path) + generate_obsolete_classes(logger, self.uploadFilePath.to_s) add_submission_status(status) self.save rescue Exception => e