6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
3/30/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#10654] Can't autosubmit to a ticket from Horde
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__ .__ .__.. . | || \[__)| ||__| |__||__/[__)|__\| |
Comment
> OK, I have been doing some more troubleshooting on this. > > First of all, reset all the Type / State / Priority etc, and > confirmed that Horde config is set correctly. > > Then tracked down the issue in Api.php to the section that reads: > > if (!$form3->validate($vars, true)) { > $f3 = var_export($form3->getErrors(), true); > throw new Whups_Exception("Invalid arguments ($f3)"); > } > > Take that out and the ticket is created fine (albeit with an empty > redirect URL fatal error - the ticket is fine). > > Follow that further to lib/Form/TicketCreateStepThree.php. Take out > the section: > > /* Comment permissions. */ > $groups = $GLOBALS['injector']->getInstance('Horde_Group'); > $mygroups = $groups->listGroups($GLOBALS['registry']->getAuth()); > if ($mygroups) { > foreach (array_keys($mygroups) as $gid) { > $grouplist[$gid] = $groups->getName($gid, true); > } > asort($grouplist); > $grouplist = array(0 => _("This comment is visible to > everyone")) + $grouplist; > $this->addVariable( > _("Make this comment visible only to members of a > group?"), 'group', > 'enum', false, false, null, array($grouplist)); > } > > And the ticket is created correctly (same redirect error). > > The Fatal error is: > > A fatal error has occurred > Redirect failed: URL is empty. > > 1. _returnToPage() /var/www/horde4/services/problem.php:96 > 2. Horde_Url->redirect() /var/www/horde4/services/problem.php:15 > > Details > The full error message is logged in Horde's log file, and is shown > below only to administrators. Non-administrative users will not see > error details. > > Horde_Url_Exception Object > ( > [_previous:private] => > [details] => > [message:protected] => Redirect failed: URL is empty. > [string:private] => > [code:protected] => 0 > [file:protected] => /usr/share/pear/Horde/Url.php > [line:protected] => 326 > [trace:private] => Array > ( > [0] => Array > ( > [file] => /var/www/horde4/services/problem.php > [line] => 15 > [function] => redirect > [class] => Horde_Url > [type] => -> > [args] => Array > ( > ) > > ) > > [1] => Array > ( > [file] => /var/www/horde4/services/problem.php > [line] => 96 > [function] => _returnToPage > [args] => Array > ( > ) > > ) > > ) > > ) > > > But hey! at least the ticket is created.
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