• Entering an invalid access key throws a NullpointerException

    By Karsten KL Lehmann 1 decade ago

    Bugfix: Check tempDoc in custom control content_getFiles and redirect to page "Error" if null:


                        action="openDocument">
                var tempDoc:NotesDocument = tempView.getDocumentByKey(param.AccessID);
    if (!tempDoc) {
        context.redirectToPage("Error");
    }
    return tempDoc==null ? null : tempDoc.getUniversalID();}]]>