fileSendrOpenDocument[/Projects/pmt.nsf/ProjectView?ReadForm&Query=]

Project: fileSendr (Managed by Declan Lynch)
 | The bugBug ID: NOSS-97YG67
| Submitted by: | Karsten KL Lehmann |
| Project Master Chef: | Declan Lynch |
| Bug type: | |
| Brief Description: | Entering an invalid access key throws a NullpointerException |
| Severity: | |
| Version | 1.1.0 |
| Status: | Fixed |
Bugfix: Check tempDoc in custom control content_getFiles and redirect to page "Error" if null:
<xp:this.data>
<xp:dominoDocument var="fileDoc" formName="fm_Files"
action="openDocument">
<xp:this.documentId><![CDATA[#{javascript:var tempView:NotesView = database.getView("lkp_UploadsByKey");
var tempDoc:NotesDocument = tempView.getDocumentByKey(param.AccessID);
if (!tempDoc) {
context.redirectToPage("Error");
}
return tempDoc==null ? null : tempDoc.getUniversalID();}]]></xp:this.documentId>
</xp:dominoDocument>
</xp:this.data>
|
 |
 |  |
| Status: | Fixed |
| Implemented in Release: | V1.2.0 |
| Fix Details: |
This has been fixed in the next version
|
|
Modification history
| Entered 28-Feb-2011 6:31 by Karsten KL Lehmann. Last Modified 17-Jul-2011 0:54 by Declan Lynch. |
Feedback
Check out other projects