[phpldapadmin] [ phpldapadmin-Bugs-2985394 ] Join does not work with attribute helper
"SourceForge.net" <[email protected]> Sun, 11 Apr 2010 12:30:10 +0000
| Newsgroups | gmane.comp.ldap.davedap |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #2985394, was opened at 2010-04-11 14:28
Message generated for change (Settings changed) made by marlo83
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: Open
Resolution: None
>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
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498546&aid=2985394&group_id=61828
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/