6.0.0-alpha10
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
5/15/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#8125] Empty id causes missing url part when generating a url in routes
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..___.__ . .___. |\/|[__ [__)| | | || | \|___ |
Comment
> When using a route such as > > > > $m->connect(':controller/:action/:id', array('controller' => > 'content', 'action' => 'view', 'id' => 'all')); > > > > or > > > > $m->connect(':controller/:action/:id', array('controller' => > 'content', 'action' => 'view')); > > > > the call > > > > $m->generate(array('controller' => 'content', 'action' => 'view', 'id' => 0)) > > > > returns an unexpected result. > > > > I added a unit test and a potential fix. I think the fix improves > things but it has an effect on the outcome of other unit tests. So I > guess I better attach this as a patch.
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