[phpldapadmin] [ phpldapadmin-Bugs-2985394 ] Join does not work with attribute helper
"SourceForge.net" <[email protected]> Wed, 25 May 2011 14:20:05 +0000
| Newsgroups | gmane.comp.ldap.davedap |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #2985394, was opened at 2010-04-11 12:28
Message generated for change (Settings changed) made by sf-robot
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: Closed
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: SourceForge Robot (sf-robot)
Date: 2011-05-25 14:20
Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 28 days (the time period specified by
the administrator of this Tracker).
----------------------------------------------------------------------
Comment By: Deon George (wurley)
Date: 2011-04-27 13: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
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/