6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/10/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#5979] (whitespace-)trimming of mapped attributes
*
Your Email Address
*
Spam protection
Enter the letters below:
. ,. ..__ . ..___ \./ |\/|| \|_/ [__ | | ||__/| \|
Comment
> Mapping attributes from multiple hash values can generate hideous > results if some of the attributes are not set. Example: > > > > 'name' => array('fields' => array('firstname', 'lastname'), > > 'format' => '%s %s', > > 'attribute' => 'cn'), > > > > If firstname is not set, cn becomes " Lastname" with a leading space. > > > > Would be nice if mapped attributes get trimmed afterwards, maybe even > on multiple whitespaces within the string. Yes, there cannot be a > general trim rule, but maybe another map parameter just for the > (common?) whitespace separation?
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers