Closed Castronova closed 5 years ago
This issue is ancient. Before closing it (it's probably worth closing just by virtue of it being so old ...), I tried to see if the problem described here no longer exists. That definitely seems to be the case:
Dataset*
variables in createDatasetcreateDataset
is itself present as a test that gets run by the CI with every pull requests. The test is passing.So, I'm calling this resolved and closing the issue.
The
createDataset
function in createService.py fails.IntegrityError: (IntegrityError) NOT NULL constraint failed: Datasets.DatasetUUID u'INSERT INTO datasets (datasetuuid, datasettypecv, datasetcode, datasettitle, datasetabstract) VALUES (?, ?, ?, ?, ?)' (None, None, None, None, 'test')
The
createDataset
function sets values for the following variables DatasetTypeCV, DatasetCode, DatasetTitle, DatasetAbstract, DatasetUUID. However, these variables do not exist in themodels.py
DataSets class, instead they are named **DataSet***.To fix, change the variables that are set in
createService.createDataset
to match the variables defined inmodels.DataSets