Crash when downloading module QC stages

2021-12-16 13:30:38 9d165c2d113b root[1] INFO [LDB] Start downloading info of stages and QC tests
Exception in thread Thread-121:
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/home/localdb_tools/viewer/functions/../itkpd-interface/lib/download_QC_info.py", line 166, in download_QC_info
    self.__downloadStagesAndTests(module_cpt_doc)
  File "/home/localdb_tools/viewer/functions/../itkpd-interface/lib/download_QC_info.py", line 122, in __downloadStagesAndTests
    userdb.QC.status.insert_one( self.__create_QC_status_doc(module_cpt_doc) )
  File "/home/localdb_tools/viewer/functions/../itkpd-interface/lib/download_QC_info.py", line 78, in __create_QC_status_doc
    for testType in stage["testTypes"]:
TypeError: 'NoneType' object is not iterable

Likely the hard coded id is not valid anymore?

Edited by David-Leon Pohl