Index: WAeUP_SRP/trunk/skins/waeup_pins/batch_view.pt
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_pins/batch_view.pt	(revision 696)
+++ WAeUP_SRP/trunk/skins/waeup_pins/batch_view.pt	(revision 708)
@@ -35,6 +35,7 @@
             <td tal:content="pin/pin" />
             <td>
-              <a href="" tal:content="pin/student"
+              <a tal:condition="pin/student_url" href="" tal:content="pin/student"
                  tal:attributes="href pin/student_url"></a>
+              <span tal:condition="not: pin/student_url" tal:content="pin/student" />
             </td>
           </tr>
Index: WAeUP_SRP/trunk/skins/waeup_pins/getBatchInfo.py
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_pins/getBatchInfo.py	(revision 696)
+++ WAeUP_SRP/trunk/skins/waeup_pins/getBatchInfo.py	(revision 708)
@@ -31,8 +31,9 @@
     if bd.prefix == "APP":
         jno = item['student']
-        item['student_url'] = "%s/%s" % (context.portal_url(),
-                                         context.portal_catalog(SearchableText=jno,
-                                                                portal_type='StudentApplication')[0].relative_path
-                                        )                        
+        res = context.portal_catalog(SearchableText=jno,portal_type='StudentApplication')
+        if len(res) == 1:
+            item['student_url'] = "%s/%s" % (context.portal_url(),res[0].relative_path)
+        else:
+            item['student_url'] == None
     else:
         item['student_url'] = '%s/%s' % (students_url,item['student'])
