Index: WAeUP_SRP/trunk/skins/waeup_student/getFormattedStudentEntry.py
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_student/getFormattedStudentEntry.py	(revision 4030)
+++ WAeUP_SRP/trunk/skins/waeup_student/getFormattedStudentEntry.py	(revision 4033)
@@ -30,6 +30,8 @@
     students_object = context.portal_url.getPortalObject().campus.students
     student = getattr(students_object, brain.id)
-    app_obj = student.application.getContent()
-    d['email'] = getattr(app_obj, 'app_email', '') 
-            
+    try:
+        app_obj = student.application.getContent()
+        d['email'] = getattr(app_obj, 'app_email', '')
+    except: 
+        d['email'] = 'not accessible'
 return d            
Index: WAeUP_SRP/trunk/skins/waeup_student/lecturer_course_edit.py
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_student/lecturer_course_edit.py	(revision 4030)
+++ WAeUP_SRP/trunk/skins/waeup_student/lecturer_course_edit.py	(revision 4033)
@@ -32,8 +32,13 @@
 requested_id = context.getStudentId()
 if not 'Lecturers' in groups and not context.isSectionOfficer():
-    logger.info('%s tried to access course result of %s but is not a lecturer' % (member_id,requested_id))
+    logger.info('%s tried to access course result record of %s but is not a lecturer' % (member_id,requested_id))
     return REQUEST.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url())
 
 student_id = requested_id
+student_record = context.students_catalog.getRecordByKey(student_id)
+if student_record.review_state != 'courses_validated':
+    logger.info('%s tried to access non-validated course result record of %s' % (member_id,requested_id))
+    return REQUEST.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url())
+
 
 level_id = context.getId()
@@ -51,5 +56,5 @@
 #set_trace()
 if str(lecturer_id) != member_id and not context.isSectionOfficer():
-    logger.info('%s tried to access course result %s of %s but is not a lecturer of this course' % (member_id,course_id,requested_id))
+    logger.info('%s tried to access course result record %s of %s but is not a lecturer of this course' % (member_id,course_id,requested_id))
     return REQUEST.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url())
 
