Hello,

I'm experiencing a problem with phpLDAPadmin (1.2.0.5) when attempting
to access user entries that contain attributes with language codes. We
use Sun Messaging so certain users may have attributes like:

mailAutoReplySubject: some text
mailAutoReplySubject;lang-en: some other text
mailAutoReplyText: body text
mailAutoReplyText;lang-en: other body text

When attempting to edit that user entry with the default template, I get:

Error
There was a request to add an attribute (13), but it was already
defined? (xmlTemplate::addAttribute)
PHP Debug Backtrace
File    /SC/ss/secure_html/phpldapadmin/lib/functions.php (444)
        Function        error (a:5:{i:0;s:101:"There was a request to add an 
attr...)
File    /SC/ss/secure_html/phpldapadmin/lib/xmlTemplates.php (446)
        Function        debug_dump_backtrace (a:2:{i:0;s:101:"There was a 
request
to add an attr...)
File    /SC/ss/secure_html/phpldapadmin/lib/Template.php (286)
        Function        addAttribute 
(a:2:{i:0;s:28:"mailautoreplysubject;lang-en";i:1;a...)
File    /SC/ss/secure_html/phpldapadmin/lib/PageRender.php (78)
        Function        accept (a:0:{})
File    /SC/ss/secure_html/phpldapadmin/lib/TemplateRender.php (52)
        Function        accept (a:0:{})
File    /SC/ss/secure_html/phpldapadmin/htdocs/template_engine.php (48)
        Function        accept (a:0:{})
File    /SC/ss/secure_html/phpldapadmin/htdocs/cmd.php (63)
        Function        include 
(a:1:{i:0;s:58:"/SC/ss/secure_html/phpldapadmin/htd...)

The template engine doesn't seem to know how to deal with the
";lang-en" and thinks there are multiple attributes defined with the
same name.

Has anyone else experienced this? Are there any workarounds?

-- 
Ian Colquhoun

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
phpldapadmin-users mailing list
phpldapadmin-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Reply via email to