Index: /main/waeup.kofa/trunk/CHANGES.txt
===================================================================
--- /main/waeup.kofa/trunk/CHANGES.txt	(revision 11778)
+++ /main/waeup.kofa/trunk/CHANGES.txt	(revision 11779)
@@ -4,4 +4,7 @@
 1.3dev (unreleased)
 ===================
+
+* Fix CertificateCourseProcessor. Mandatory is not a required field
+  and might be missing in import files.
 
 * Provide customizable method for disabling clearance by clearance officers.
Index: /main/waeup.kofa/trunk/src/waeup/kofa/students/batching.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/students/batching.py	(revision 11778)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/students/batching.py	(revision 11779)
@@ -791,5 +791,5 @@
             # ... or order_ids.
             if not len(p_id) == 19:
-                errs.append(('p_id','invalid length'))
+                errs.append(('p_id','invalid format'))
                 return errs, inv_errs, conv_dict
         return errs, inv_errs, conv_dict
Index: /main/waeup.kofa/trunk/src/waeup/kofa/university/batching.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/university/batching.py	(revision 11778)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/university/batching.py	(revision 11779)
@@ -390,5 +390,6 @@
         parent = self.getParent(row, site)
         parent.addCertCourse(row['course'],
-                            row['level'], row['mandatory'])
+                            row['level'], row.get('mandatory',None))
+                            # mandatory is not a required and might be missing
         return
 
