[Tickets #10654] Re: Can't autosubmmit to a ticket from Horde

bugs at horde.org bugs at horde.org
Wed Oct 19 06:53:47 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10654
------------------------------------------------------------------------------
  Ticket             | 10654
  Updated By         | simon at simonandkate.net
  Summary            | Can't autosubmmit to a ticket from Horde
  Queue              | Whups
  Version            | 2.0-RC1
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


simon at simonandkate.net (2011-10-19 06:53) wrote:

Upgraded to Whups RC2. Now it does this:

Invalid arguments (array ( 'state' => 'Invalid data submitted.',  
'priority' => 'Invalid data submitted.', 'group' => 'Invalid data  
submitted.', ))

So it's degenerating, not getting better... :(

The Horde code is:

$conf[problems][ticket_params]
array('queue' => 1, 'state' => 1, 'priority' => 1, 'type' => 1)

Looking at select * from whups_states shows:

state_id type_id state_name state_description state_category state_default
1 2 Unconfirmed A ticket has been reported but not yet analyzed unconfirmed 0
2 2 Accepted The ticket has been analyzed and accepted as valid. new 0
3 2 Assigned Someone has accepted responsibility for the ticket. assigned 0
4 2 Resolved The ticket has been resolved. resolved 0
5 2 Canceled The ticket is no longer valid for one reason or another.  
resolved 0
6 1 Unconfirmed A ticket has been reported but not yet analyzed unconfirmed 0
7 1 Accepted The ticket has been analyzed and accepted as valid. new 0
8 1 Assigned Someone has accepted responsibility for the ticket. assigned 0
9 1 Resolved The ticket has been resolved. resolved 0
10 1 Canceled The ticket is no longer valid for one reason or another.  
resolved 0
11 4 Unconfirmed A ticket has been reported but not yet analyzed unconfirmed 0
12 4 Accepted The ticket has been analyzed and accepted as valid. new 0
13 4 Assigned Someone has accepted responsibility for the ticket. assigned 0
14 4 Resolved The ticket has been resolved. resolved 0
15 4 Canceled The ticket is no longer valid for one reason or another.  
resolved 0

With both priority_id and state_id 1 having a type_id of 2, I changed  
the Horde code to be:

array('queue' => 1, 'state' => 1, 'priority' => 1, 'type' => 2)

That gets a bit further:

Invalid arguments (array ( 'group' => 'Invalid data submitted.', ))

I'm not actually calling group anywhere! Nor do I have any groups in SQL.





More information about the bugs mailing list