Index: /main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py	(revision 16073)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py	(revision 16074)
@@ -1099,4 +1099,11 @@
             dict(name=x, title=y) for x, y in allowed_transitions]
 
+    def saveCourses(self, changed_fields):
+        """In custom packages we needed to customize the certificate
+        select widget. We just save course1 and course2 if these customized
+        fields appear in the form.
+        """
+        return changed_fields
+
     @action(_('Save'), style='primary')
     def save(self, **data):
@@ -1119,20 +1126,5 @@
         else:
             changed_fields = []
-        # In custom packages we needed to customize the certificate
-        # select widget. We just save course1 and course2 if these customized
-        # fields appear in the form.
-        course1 = form.get('custom.course1', None)
-        course2 = form.get('custom.course2', None)
-        cat = queryUtility(ICatalog, name='certificates_catalog')
-        if course1:
-            results = list(
-                cat.searchResults(code=(course1, course1)))
-            self.context.course1 = results[0]
-            changed_fields.append('course1')
-        if course2:
-            results = list(
-                cat.searchResults(code=(course2, course2)))
-            self.context.course2 = results[0]
-            changed_fields.append('course2')
+        changed_fields = self.saveCourses(changed_fields)
         if password:
             # Now we know that the form has no errors and can set password ...
@@ -1293,4 +1285,11 @@
         return
 
+    def saveCourses(self):
+        """In custom packages we needed to customize the certificate
+        select widget. We just save course1 and course2 if these customized
+        fields appear in the form.
+        """
+        return
+
     @action(_('Save'), style='primary')
     def save(self, **data):
@@ -1299,4 +1298,5 @@
             return
         self.applyData(self.context, **data)
+        self.saveCourses()
         self.flash(_('Form has been saved.'))
         return
