xpages - Error when combining authenticated and anonymous access to one database -
i have existing xpages app authenticated users only. need create 2 new xpages , allow annonymous access them. added 'read public access documents' anonymous user. can see these 2 xpages anonymously sudenly existing non-anonymous part of application doesnt work anymore , app raises dojo errors in browser below. scenario this:
tested on domino 9.01 , 9.0.1fp3 + chrome same results
- i open non-anonymous app in browser , authenticate, works correctly now
- from different browser open anonymous xpage works fine also
- now refresh (f5 in browser) non-anonymus app point a) , starts raise errors below. need restart http fix it.
i tested scenario several times on local , customers server same result. found http://www-01.ibm.com/support/docview.wss?uid=swg1lo76577 ... there workaround scenario? or how combine anonymous , authenticated access in 1 app properly?
xhr finished loading: "http://localhost:8090/xsp/.ibmxspres/dojoroot-1.8.3/dojo/require.js" xhr finished loading: "http://localhost:8090/xsp/.ibmxspres/dojoroot-1.8.3/ibm/xsp/widget/layout/layers/nls/xspclientdojo_cs.js". dojo.js:15 uncaught typeerror: cannot read property 'dynamic' of undefined_bc @ dojo.js:15_31 @ dojo.js:15_f4 @ dojo.js:15def @ dojo.js:15(anonymous function) @ xspclientdojo.js:5
that technote sounds wrong. i've had anonymous , authenticated access in nsf running fine in production many years, first deployed on 8.5.1.
my xpage public access, custom control layout isn't.
i can't see how point 2 (another user opening on browser) can impact it.
based on word "dynamic" in error, have dynamic content control in relevant page? if you're on same page when authenticate, @ code running after authentication , whether changes js variables or component tree means not available code running on load of page.
Comments
Post a Comment