[rt-users] Re: [rt-devel] [rt-announce] RT 2.0.8

Jesse Vincent jesse at bestpractical.com
Sat Oct 6 02:24:58 EDT 2001


Does it work better with this patch against Ticket.pm?

348c368,371
< 	my @keywords = @{$args{$key}};
---
> 	my @keywords = ref($args{$key}) eq 'ARRAY' ?
> 	      @{$args{$key}} : ($args{$key});


(Line numbers are off. the patch is my current development sources vs what's in
CVS, but the routine is in Ticket::Create.)

On Thu, Oct 04, 2001 at 02:50:21PM +0200, Alesh Mustar wrote:
> Ignore my stupidy please, I didn't manage to see the Show Details link :-)
> 
> Tho, I found that if i set a keywoard for the ticket and change Priority for
> example from 10 to something else, RT doesn't save it.
> It only saves:
> 
>   * Ticket 465 created in queue 'Sportina'.                                    
>   * TimeWorked: TimeWorked changed from 0 to by alesh                          
>   * TimeLeft: TimeLeft changed from 0 to by alesh                              
>                                                                                
>                                                                                
> 
> Jesse?
> 
> A.
> 
> Alesh Mustar wrote:
> 
>     * Ticket creation now has a "more detail" section
>    
>    
>     Am I missing something or did I do something wrong, but the Create New
>     Ticket is the same as in 2.07 on my machine.
>    
>     I checked the files, cleaned the sessiondata dir, yes i did stop, start
>     apache (didn't use restart).
>    
>     Wtf can still be wrong? Something obscure?
>    
>     I attached Create.html from Tickets dir.
>    
>     Jesse, anyone else?
>    
>     Thank you in advance,
>     A.
>    
>         -------------------------------------------------------------------   
>    
>     %# $Header: /raid/cvsroot/rt/webrt/Ticket/Attic/Create.html,v 1.1.2.16 2001
>     /09/19 20:49:26 jesse Exp $ %# Copyright 1996-2000 Jesse Vincent <& /
>     Elements/Header, Title => "Create a new ticket" &> <& /Elements/Tabs,
>     current_toptab => "Ticket/Create.html" &> <& /Elements/TitleBoxStart,
>     contentbg => "#cccccc", title => "Create a new ticket"&>
>    
>                                     <& /Elements/           <& /Elements/      
>                 <%                  SelectStatus,           SelectOwner, Name  
>     Queue       $QueueObj-> Status: Name =>          Owner: => "ValueOfOwner", 
>                 Name %>             "Status",               QueueObj =>        
>                                     Default=> 'new'         $QueueObj &>       
>                                     &>                                         
>     Requestors: [<%$session{CurrentUser}->EmailAddress%> ]                     
>     Cc:         [                                        ]                     
>     Admin Cc:   [                                        ]                     
>     Subject:    [                                                            ] 
>     Attach      [                    ]                                         
>     file:                                                                      
>     Describe the issue below:                                                  
>     <& /Elements/MessageBox, QuoteTransaction => $QuoteTransaction &>          
>                                                                                
>    
>     <& /Elements/TitleBoxEnd &>
>                                                                [ Show details ]
>     <& /Elements/Submit, Label => "Create ticket"&>
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>                                                                [ Hide details ]
>    
>     <& /Elements/TitleBoxStart, title => 'The      <& /Elements/TitleBoxStart,    
>     Basics', title_class=> 'inverse', color => "#  title => "Dates", title_class=>
>     993333" &>                                     'inverse', color => "#663366"  
>                                                    &>                             
>            Priority: [<%$]                                                        
>      Final Priority: [<%$]                         Starts: [          ]           
>         Time Worked: [   ]                            Due: [          ]           
>           Time Left: [   ]                                                        
>                                                    <& /Elements/TitleBoxEnd &>    
>     <& /Elements/TitleBoxEnd &>                    <& /Elements/TitleBoxStart,    
>                                                    title => 'Relationships',      
>     <& /Elements/TitleBoxStart, title_class=>      title_class=> 'inverse',       
>     'inverse', title => "Keyword Selections",      titleright => '', color=> "#   
>     color => "#993300" &>                          336633" &> (Enter ticket ids or
>                                                    URLs, seperated with spaces)   
>     % while ( my                                                                  
>     $KeywordSelect =                                   Depends on [          ]    
>     $KeywordSelects->                              Depended on by [          ]    
>     Next ) { % my                                         Parents [          ]    
>     $Descendents =                                       Children [          ]    
>     $KeywordSelect->                                    Refers to [          ]    
>     KeywordObj->                                   Referred to by [          ]    
>     Descendents;                                                                  
>                    <%                              <& /Elements/TitleBoxEnd &>    
>      $KeywordSelect-> [(empty)                   ] <& /Elements/Submit, Label =>  
>               Name %>                              "Create ticket"&>              
>     % }                                                                           
>                                                                                   
>     <& /Elements/TitleBoxEnd &>                                                   
>    
>     <%INIT> my $QueueObj = new RT::Queue($session{'CurrentUser'}); $QueueObj->
>     Load($Queue) || Abort("Queue could not be loaded."); my $KeywordSelects =
>     $QueueObj->KeywordSelects;



-- 
http://www.bestpractical.com/products/rt  -- Trouble Ticketing. Free.




More information about the rt-users mailing list