Index: /WAeUP_SRP/base/WAeUPImport.py
===================================================================
--- /WAeUP_SRP/base/WAeUPImport.py	(revision 3401)
+++ /WAeUP_SRP/base/WAeUPImport.py	(revision 3402)
@@ -772,10 +772,10 @@
                 res = self.students_catalog(jamb_reg_no = jamb_reg_no)
                 if res:
-                    msg = "jamb_reg_no exists"
+                    msg = "jamb_reg_no exists for student %s" % res[0].id
                     break
             if matric_no:
                 res = self.students_catalog(matric_no = matric_no)
                 if res:
-                    msg = "matric_no exists"
+                    msg = "matric_no exists for student %s" % res[0].id
                     break
             if not matric_no and not jamb_reg_no:
@@ -826,6 +826,6 @@
 
     def edit(self,mapping): ###(
+        "edit student records due import"
         wftool = self.portal_workflow
-        "edit student records due import"
         logger = logging.getLogger('WAeUPTool.mass_edit_student')
         students_folder = self.portal_url.getPortalObject().campus.students
@@ -844,4 +844,8 @@
                 if matric_no and student_record.matric_no:
                     if  matric_no != student_record.matric_no:
+                        res = self.students_catalog(matric_no = matric_no)
+                        if res:
+                            msg = "matric_no exists for student %s" % res[0].id
+                            break
                         msg = "old matric_no %s overwritten with %s" % (student_record.matric_no,matric_no)
                         #logger.info("%s, old matric_no %s overwritten with %s" % (student_record.id,student_record.matric_no,matric_no))
