Index: /main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/browser.py
===================================================================
--- /main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/browser.py	(revision 14882)
+++ /main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/browser.py	(revision 14883)
@@ -58,8 +58,9 @@
         if not store.getFileByContext(self.context, attr=u'o_level_result.jpg'):
             return _('No O Level result uploaded.')
-        if self.context.current_mode.startswith('nd'):
+        cm = getattr(self.context,'current_mode', None)
+        if cm and cm.startswith('nd'):
             if not store.getFileByContext(self.context, attr=u'jamb_result.jpg'):
                 return _('No JAMB result uploaded.')
-        elif self.context.current_mode.startswith('hnd'):
+        elif cm and cm.startswith('hnd'):
             if not store.getFileByContext(self.context, attr=u'nd_result.jpg'):
                 return _('No ND result uploaded.')
Index: /main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/viewlets.py
===================================================================
--- /main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/viewlets.py	(revision 14882)
+++ /main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/viewlets.py	(revision 14883)
@@ -59,5 +59,6 @@
         if self.__name__ in students_utils.SKIP_UPLOAD_VIEWLETS:
             return False
-        return self.context.current_mode.startswith('hnd')
+        cm = getattr(self.context,'current_mode', None)
+        return cm and cm.startswith('hnd')
 
 class NDResultImage(StudentImage):
@@ -122,5 +123,6 @@
         if self.__name__ in students_utils.SKIP_UPLOAD_VIEWLETS:
             return False
-        return self.context.current_mode.startswith('hnd')
+        cm = getattr(self.context,'current_mode', None)
+        return cm and cm.startswith('hnd')
 
 class ITLetterImage(StudentImage):
@@ -153,5 +155,6 @@
     @property
     def label(self):
-        if self.context.current_mode.startswith('hnd'):
+        cm = getattr(self.context,'current_mode', None)
+        if cm and cm.startswith('hnd'):
             return u'JAMB Result / ND Admission Letter (optional)'
         else:
