6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/21/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12262] problem in _getAttribute() of /usr/share/php/Horde/ActiveSync/Message/Base.php
*
Your Email Address
*
Spam protection
Enter the letters below:
.___.. .. ,. ..___ | |__| \./ | |[__ | | | | |/\||
Comment
>> An empty value for $this->_properties[$name] is perfectly valid here >> - the default value for most attributes is false, so empty() will >> return true. Instead, what you want to do is check if the >> array_key_exists() there. > > Thanks, I changed to array_key_exists(). > >> Regardless, I would need a backtrace to see where _getAttributes() is >> being called from, as it should only be asking for properties that >> are known to exist in a given EAS version. > > My report was not necessarily about that the return value is wrong, > but to get rid of the PHP error message, and _maybe_ telling the > developer, that something is wrong here. > > I have added var_export(debug_backtrace(), true), let's see if I get > something.
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