IBM Support

LO65537: XPAGES USING SESSIONASSIGNER IN SAME JAVASCRIPT CALL WITH SESSIONASSIGNERWITHFULLACCESS RESULTS IN ERROR

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as fixed if next.

Error description

  • You have a JavaScript function that uses sessionAsSigner and
    sessionAsSignerWithFullAccess in same session before or after
    the sessionAsSignerWithFullAccess call.  The result is that
    sessionAsSignerWithFullAccess results in an error:
    Error: Exception occurred calling method
    NotesDocument.remove(boolean) null
    SAMPLE SCRIPT:
    try {
    
     var dbB=sessionAsSigner.getDatabase("","");
     var dbB=sessionAsSignerWithFullAccess.getDatabase("","");
     dbB.openByReplicaID(@DbName()[0],"85257936007330C6");
     //Below current db ^ is the dbB database
     //dbB.openByReplicaID(@DbName()[0],"8525793600732912");
     var vw=dbB.getView("Contacts");
     //Below current db ^ is the dbB database
     //var vw=dbB.getView("testview");
     var doc=vw.getFirstDocument();
     try {
      doc.remove(true);
     } catch (e) {
      viewScope.log="Error: " + e.toString()+"<br><br>"+
      "Now comment out the first line of code and uncomment
    the second behind the Delete button and try.";
      return;
     }
    } catch (e0) {
     viewScope.log="<font color=red>Please make sure you have
    updated the code to set the correct "+
     "ReplicaID of the dbB (It may be the cause of the
    error).</font>"+
     "<BR><BR>Error Details: " + e0.toString();
     return;
    }
    viewScope.log="Successfully deleted a Contact document."
    

Local fix

Problem summary

  • This APAR is closed as FIN. We have deferred the fix to a
     future release.
    

Problem conclusion

Temporary fix

Comments

  • This APAR is associated with SPR# RDJS8NP42Y.
    This APAR is closed as FIN. We have deferred the fix to a
     future release.
    

APAR Information

  • APAR number

    LO65537

  • Reported component name

    DOMINO SERVER

  • Reported component ID

    5724E6200

  • Reported release

    853

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-11-16

  • Closed date

    2012-05-16

  • Last modified date

    2012-05-16

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • R850 PSN

       UP



Document information

More support for: IBM Domino

Software version: 8.5.3

Reference #: LO65537

Modified date: 16 May 2012


Translate this page: