[phpldapadmin] [ phpldapadmin-Bugs-2985394 ] Join does not work with attribute helper
"SourceForge.net" <[email protected]> Wed, 27 Apr 2011 13:37:59 +0000
| Newsgroups | gmane.comp.ldap.davedap |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #2985394, was opened at 2010-04-11 22:28
Message generated for change (Comment added) made by wurley
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2985394&group_id=61828
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Pending
>Resolution: Works For Me
Priority: 7
Private: No
Submitted By: Marc (marlo83)
Assigned to: Nobody/Anonymous (nobody)
Summary: Join does not work with attribute helper
Initial Comment:
I just installed phpLDAPadmin 1.2.0.5 and rewrote my template which I used together with phpLDAPadmin 0.9.8.3 before. Unfortunatley the follwing attribute declaration does not work as expected:
<attribute id="sambaSID">
<display>Samba SID</display>
<helper>
<id>sidSuffix</id>
<value>=php.GetNextNumber(/;uidNumber;false;;*2,+1000)</value>
</helper>
<order>20</order>
<page>1</page>
<post>=php.Join(-;%sambaSID%,%sidSuffix%)</post>
<type>select</type>
<default>S-1-5-21-3050478778-1692888539-3214437583</default>
<value>=php.PickList(/;(objectClass=sambaDomain);sambaSID;%sambaSID% (%sambaDomainName%))</value>
</attribute>
The rendered web form shows the pick list as well as the input field for the attribute helper and all displayed values are correct. Yet when I submit the form sambaSID's value containes only its original value plus the join character. When I change sidSuffix to the id of another attribute defined within the template everything works fine.
Apache- / PHP-Versions are:
Apache/2.2.9 (Debian) DAV/2 PHP/5.2.6-1+lenny8 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g Server at linux Port 443
OS is Debian Lenny 5.0.4
----------------------------------------------------------------------
>Comment By: Deon George (wurley)
Date: 2011-04-27 23:37
Message:
I cant reproduce your bug - it works for me as expected, both on the
RELEASE 1.2.0.5 and the current SANDPIT branch.
Can you reproduce your problem on my demo server?
http://wurley.demo.phpldapadmin.org
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2985394&group_id=61828
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/