OpenNTF.org - fileSendr
fileSendrOpenDocument[/Projects/pmt.nsf/ProjectView?ReadForm&Query=]

My Links (Not logged in)
User Name Password
Hosted by Prominic.NET

   Project: fileSendr (Managed by Declan Lynch)
Actions:

Hide details for The bugThe bug
Bug ID: NOSS-97YG67
Description
Submitted by:Karsten KL Lehmann
Project Master Chef:Declan Lynch
Bug type:
Brief Description:Entering an invalid access key throws a NullpointerException
Severity:
Version1.1.0
Status:Fixed

Details

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>



Action taken
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

(Karsten KL Lehm... on 02/28/2011 06:31:43 AM )
Check out other projects