Add survey bits to summary fields on job templates.... change "title" to

"name" on survey metadata.
This commit is contained in:
Matthew Jones
2014-09-22 11:10:33 -04:00
parent 36ab9d98e0
commit 259e48df3e
2 changed files with 8 additions and 2 deletions
+2 -2
View File
@@ -233,8 +233,8 @@ class JobTemplate(UnifiedJobTemplate, JobOptions):
errors = []
if not self.survey_enabled:
return errors
if 'title' not in self.survey_spec:
errors.append("'title' missing from survey spec")
if 'name' not in self.survey_spec:
errors.append("'name' missing from survey spec")
if 'description' not in self.survey_spec:
errors.append("'description' missing from survey spec")
for survey_element in self.survey_spec["spec"]: