Index: /main/waeup.sirp/trunk/src/waeup/sirp/applicants/applicant.py
===================================================================
--- /main/waeup.sirp/trunk/src/waeup/sirp/applicants/applicant.py	(revision 7420)
+++ /main/waeup.sirp/trunk/src/waeup/sirp/applicants/applicant.py	(revision 7421)
@@ -22,4 +22,5 @@
 from zope.component import getUtility, createObject, getUtility, getAdapter
 from zope.component.interfaces import IFactory
+from zope.event import notify
 from zope.catalog.interfaces import ICatalog
 from zope.securitypolicy.interfaces import IPrincipalRoleManager
@@ -114,4 +115,6 @@
         student['studycourse'].current_session = self.__parent__.year
         self._copyPassportImage(student)
+        # Update the catalog
+        notify(grok.ObjectModifiedEvent(student))
 
         # Save application slip
Index: /main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_applicantcopier.py
===================================================================
--- /main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_applicantcopier.py	(revision 7420)
+++ /main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_applicantcopier.py	(revision 7421)
@@ -91,4 +91,11 @@
         self.assertEqual(self.browser.headers['Content-Type'],
                          'application/pdf')
+        # Has the student been properly indexed?
+        # Yes, we can find the student in department
+        self.browser.open('http://localhost/app/students')
+        self.browser.getControl(name="searchtype").value = ['depcode']
+        self.browser.getControl(name="searchterm").value = 'dep1'
+        self.browser.getControl("Search").click()
+        self.assertMatches('...John Tester...', self.browser.contents)
 
     def test_copier_wo_passport(self):
Index: /main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_browser.py
===================================================================
--- /main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_browser.py	(revision 7420)
+++ /main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_browser.py	(revision 7421)
@@ -96,5 +96,7 @@
         self.certificate = certificate
         self.app['faculties']['fac1'] = Faculty()
-        self.app['faculties']['fac1']['dep1'] = Department()
+        # The code has explicitely to be set, otherwise we don't
+        # find created students in their department
+        self.app['faculties']['fac1']['dep1'] = Department(code='dep1')
         self.department = self.app['faculties']['fac1']['dep1']
         self.app['faculties']['fac1']['dep1'].certificates.addCertificate(
