This question about LDAP: Asked

Main.WikiUsers blank (completely empty) when using VIEW_TEMPLATE = LdapWikiUsersView


on my Foswiki I installed LdapNgPlugin together with LdapContrib to integrate LDAP. LDAP basically works, i.e., users are authorized according to LDAP login credentials, LDAP groups can be used to specifiy access and %LDAPUSERS{limit="1000"}% outputs a long list of users.

However, WikiUsers is not created/maintained if LdapContrib is used, but I'd like a list of WikiUsers. So I followed the instructions on LdapNgPlugin that state that to display an according list of all WikiUsers, LdapNgPlugin comes with a view template that you have to apply to the WikiUsers topic by adding

   * Set VIEW_TEMPLATE = LdapWikiUsersView

I added it to WikiUsers and now when viewing WikiUsers, a blank page is returned. I mean completely blank, not even and controls or links. The page source consists of "<!-- -->".

Why is this and how do I debug this?

-- DannyBoy - 23 Feb 2017

My first guess is simply that you need to include the web reference for the view template.
   * Set VIEW_TEMPLATE = %SYSTEMWEB%.LdapWikiUsersView

-- LynnwoodBrown - 23 Feb 2017

Lynwood, Thanks for your answer. Sadly, it did not resolve the issue. The "/bin/view/Main/WikiUsers" page still renders as completely empty.

Any other ideas how to debug this issue?

-- DannyBoy - 27 Feb 2017

Danny - one thing I didn't check is if you're using either AutoTemplatePlugin or AutoViewTemplatePlugin (probably the former if you're using NatSkin). If so, the view template for WikiUsers is specified in configure under that plugin's settings and iir, there's an option to allow (or not) local setting of view template to override that. Check on that and let me know.

-- LynnwoodBrown - 27 Feb 2017

QuestionForm edit

Subject LDAP
Extension LdapNgPlugin
Version Foswiki 2.1.3
Status Asked
Related Topics
Topic revision: r4 - 27 Feb 2017, LynnwoodBrown - This page was cached on 03 Jun 2020 - 20:57.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy