Index: /main/waeup.kofa/trunk/src/waeup/kofa/students/accommodation.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/students/accommodation.py	(revision 9423)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/students/accommodation.py	(revision 9424)
@@ -58,6 +58,5 @@
 
 class BedTicket(grok.Model):
-    """This is a bed ticket which shows that the student has booked a bed
-    and paid the maintenance fee.
+    """This is a bed ticket which shows that the student has booked a bed.
     """
     grok.implements(IBedTicket, IStudentNavigation)
Index: /main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py	(revision 9423)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py	(revision 9424)
@@ -1342,5 +1342,5 @@
             current_session = str(student['studycourse'].current_session)
             if not student['accommodation'].has_key(current_session):
-                self.flash(_('You have not yet booked a bed.'))
+                self.flash(_('You have not yet booked accommodation.'))
                 self.redirect(self.url(self.context))
                 return
@@ -1589,4 +1589,9 @@
             # If bed space has been manually allocated use this bed
             bed = [entry for entry in entries][0]
+            # Safety belt for paranoids: Does this bed really exist on portal?
+            # XXX: Can be remove if nobody complains.
+            if bed.__parent__.__parent__ is None:
+                self.flash(_('System error: Please contact the adminsitrator.'))
+                return
         else:
             # else search for other available beds
@@ -1598,4 +1603,9 @@
                 students_utils = getUtility(IStudentsUtils)
                 bed = students_utils.selectBed(available_beds)
+                # Safety belt for paranoids: Does this bed really exist in portal?
+                # XXX: Can be remove if nobody complains.
+                if bed.__parent__.__parent__ is None:
+                    self.flash(_('System error: Please contact the adminsitrator.'))
+                    return
                 bed.bookBed(student.student_id)
             else:
Index: /main/waeup.kofa/trunk/src/waeup/kofa/students/interfaces.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/students/interfaces.py	(revision 9423)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/students/interfaces.py	(revision 9424)
@@ -602,5 +602,5 @@
 
     bed_coordinates = schema.TextLine(
-        title = _(u'Bed Coordinates'),
+        title = _(u'Allocated Bed'),
         required = True,
         readonly = False,
@@ -608,5 +608,5 @@
 
     bed_type = schema.TextLine(
-        title = _(u'Bed Type'),
+        title = _(u'Requested Bed Type'),
         required = True,
         readonly = False,
Index: /main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
===================================================================
--- /main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py	(revision 9423)
+++ /main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py	(revision 9424)
@@ -2053,5 +2053,5 @@
         self.browser.getControl(name="form.p_category").value = ['hostel_maintenance']
         self.browser.getControl("Create ticket").click()
-        self.assertMatches('...You have not yet booked a bed...',
+        self.assertMatches('...You have not yet booked accommodation...',
                            self.browser.contents)
         # We continue this test in test_student_accommodation
