6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/10/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#11894] Horde_Routes: Array to string conversion
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. \ /.___\ / |\ || >< [__ >< | \||___/ \[___/ \
Comment
> When running test suite: > 1) Horde_Routes_GenerationTest::testUrlWithEnviron > Array to string conversion > /dev/shm/BUILDROOT/php-horde-Horde-Routes-2.0.1-1.fc17.remi.x86_64/usr/share/pear/Horde/Routes/Mapper.php:596 > /dev/shm/BUILD/php-horde-Horde-Routes-2.0.1/Horde_Routes-2.0.1/test/Horde/Routes/GenerationTest.php:732 > ... > > I know this warning is new in PHP 5.4 which is not supported, but at > least it allow to detect an issue. > > Reading the code, kargs is obviously an array, so $cacheKeyScriptName > is going to always be set to "array" (which is the standard behavior > in PHP 5.3, and which raise a warning in PHP >= 5.4 > > The proposed patch use "serialize" to transform $kargs to something > usable as a array index. >
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