Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: DbLookup in afterPageLoad causes NSD...
Feedback Type: Problem
Product Area: Domino Server
Technical Area: Crash
Platform: Windows XP client
Release: 8.5.1
Reproducible: Always

The following code:

<xp:this.afterPageLoad><![CDATA[#{javascript:
viewScope.org=@DbLookup(@DbName(), "vAllByForm", "MasterDbInfo", "mdiOrgAbbrev");
if(!viewScope.org || viewScope.org=="") viewScope.org="DOE";
}]]></xp:this.afterPageLoad>

causes the server to NSD if the @DbLookup is run, and it works fine (producing "DOE" in viewScope.org) if that line is commented out.

- Sometimes it actually does work, producing the expected Organization name, but then the next page load causes it to crash and generate an NSD. I have two such, one where it crashed straight away and one where it pulled the org and crashed next page load.

- When I say it "always" happens, I mean the two times I tried it, it crashed. The numerous times I tried it either without the line, or with the line commented out, it did not crash.

- I'm going to fiddle with doing this using the global JS objects...

EDIT:

- The global JS objects work fine.


Feedback number DGIE7YALXZ created by ~Holly Zekhipisonnivu on 11/30/2009

Status: Open
Comments:

DbLookup in afterPageLoad causes NS... (~James Brewever... 30.Nov.09)
. . Did you see any pattern to this int... (~Joan Zektoomar... 2.Dec.09)
. . . . Haven't tried... (~James Brewever... 3.Dec.09)
. . . . . . Do you have a sample app... (~Joan Zektoomar... 3.Dec.09)
. . DbLookup in afterPageLoad causes NS... (~Keiko Nontoopl... 2.Dec.09)
. . . . Here you go... (~James Brewever... 3.Dec.09)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS