Rt 2.0.8

RT 2.0.8 is now available. It contains some oft-requested features,
like “force change owner” from the Bulk Update page and "set everything"
from the ticket create page. It also contains important bug fixes, like
a fix to the anti-mail-looping code and the addition of a NO-CACHE pragma
for the Web UI. And it’s got some other goodies.

If this release is going to break, it would be considerate of it to do so
before Friday afternoon, as I’ll be out of town for a wedding this weekend.

Jesse

Changes:

Docs

  • Cleaned up the README a bit

Build

  • RT now depends on DBIx::SearchBuilder 0.43
  • Added DESTDIR support to the Makefile
  • Added a contributed rt.spec for building of RPMS.
  • Changed " to ’ in a few places in the config file, to make file and variable
    names with embedded metacharacters not lose as badly
  • Fixed a bug that would cause installation on postgres to lose if $PORT
    wasn’t specified

Core

  • Added a fix for ItemsArrayRef to Tickets which causes the Next/Prev links
    in the web ui to be smarter.
  • Refactored Tickets.pm to allow searching for nonlocal relationships
  • Set some logical defaults for Queue->Create, so it’s not as likely to
    fail to create a queue if you leave out some fields
  • Ticket->Create now takes a Starts date. Also, fixed some API docs.
  • Tickets.pm: Negative searching on fields like “subject” should now work

CLI

  • CLI cleanups from bogus earlier refactoring.
  • Fixed a typo in the bin/rt docs
  • Cleaned up some search criteria

Web

  • Added a pragma NO-CACHE pseudo-header, to stop overzealous browsers
    and caches from caching RT’s pages
  • Changed “Bookmark this search” to “Bookmarkable URL for this search”
  • Ticket creation now has a “more detail” section
  • Ticket updates no longer have a default subject preset.
  • Fixed a bug in ShowLinks that generated bogus urls within RT if RT
    wasn’t at / on your server
  • Fixed a typo in Scrips.html that caused ugly formatting
  • RT now allows “Force owner change” from bulk update screen.
  • Fix for #863: Ticket/Elements/ShowTransaction doesn’t show headers sometimes

Mail

  • Fixed a bug in the code that prevents RT from looping with itself.

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

rt-announce mailing list
rt-announce@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-announce

  • 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.

Create.html (4.88 KB)

Alesh,

Click on the “Show Detail” link in the bottom right of the screen.

Fantastic enhancement that makes our RT life much easier!!!

D…-----Original Message-----
From: Alesh Mustar [mailto:alesh@sportina.si]
Sent: 04 October 2001 13:36
To: rt-users
Subject: [rt-users] Re: [rt-devel] [rt-announce] RT 2.0.8
Importance: High

  • 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.

Any views expressed in this message are those of the individual sender,
except where the sender states them to be the views of Foreshore Limited.

This e-mail is intended only for the individual or entity to which it is
addressed and contains information that is private and confidential. If
you are not the intended recipient you are hereby notified that any
dissemination, distribution or copying is strictly prohibited. If you
have received this e-mail in error please delete it immediately and
advise us by return e-mail to hostmaster@foreshore.net

Ignore my stupidy please, I didn’t manage to see the Show Details
link :slight_smile:

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"&> Queue<% $QueueObj->Name %> Status: <& /Elements/SelectStatus, Name => "Status", Default=> 'new' &> Owner: <& /Elements/SelectOwner, Name => "ValueOfOwner", QueueObj => $QueueObj &> Requestors: 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 Basics’, title_class=> ‘inverse’, color =>
"#993333" &>
Priority:Final Priority:Time Worked:Time Left:
<& /Elements/TitleBoxEnd &>

&lt;&amp; /Elements/TitleBoxStart,  		title_class=&gt; 'inverse',   		title

=> “Keyword Selections”, color => “#993300” &>

% while ( my $KeywordSelect = $KeywordSelects->Next ) { % my $Descendents
= $KeywordSelect->KeywordObj->Descendents; <% $KeywordSelect->Name %><% $Descendents->{$kid}
%>

(empty) % }

<& /Elements/TitleBoxEnd &> <& /Elements/TitleBoxStart, title =>
“Dates”, title_class=> ‘inverse’, color => “#663366” &>

      Starts:<input size="10" name="Starts">Due:<input size="10" name="Due">

<& /Elements/TitleBoxEnd &>

<& /Elements/TitleBoxStart, title => ‘Relationships’, title_class=>
‘inverse’, titleright => ‘’, color=> “#336633” &> (Enter
ticket ids or URLs, seperated with spaces)
Depends onDepended on byParentsChildrenRefers toReferred to by
<& /Elements/TitleBoxEnd &>

<& /Elements/Submit, Label => “Create ticket”&>
<%INIT> my $QueueObj = new RT::Queue($session{‘CurrentUser’}); $QueueObj->Load($Queue)
|| Abort(“Queue could not be loaded.”); my $KeywordSelects = $QueueObj->KeywordSelects;

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 :slight_smile:

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.

Yup, works like a charm.

Thanks,

A.

Jesse Vincent wrote:

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 di

r, 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 &lt;&amp; /

Elements/Header, Title =&gt; "Create a new ticket" &amp;&gt; &lt;&amp; /Elements/Tabs,

current_toptab =&gt; "Ticket/Create.html" &amp;&gt; &lt;&amp; /Elements/TitleBoxStart,

contentbg =&gt; "#cccccc", title =&gt; "Create a new ticket"&amp;&gt;



                                &lt;&amp; /Elements/           &lt;&amp; /Elements/      

            &lt;%                  SelectStatus,           SelectOwner, Name  

Queue       

$QueueObj-> Status: Name => Owner: => “ValueOfOwner”,

            Name %&gt;             "Status",               QueueObj =&gt;        

                                Default=&gt; 'new'         $QueueObj &amp;&gt;       

                                &amp;&gt;                                         

Requestors: [&lt;%$session{CurrentUser}-&gt;EmailAddress%&gt; ]                     

Cc:         [                                        ]                     

Admin Cc:   [                                        ]                     

Subject:    [                                                            ] 

Attach      [                    ]                                         

file:                                                                      

Describe the issue below:                                                  

&lt;&amp; /Elements/MessageBox, QuoteTransaction

=> $QuoteTransaction &>

&lt;&amp; /Elements/TitleBoxEnd &amp;&gt;

                                                           [ Show details ]

&lt;&amp; /Elements/Submit, Label =&gt; "Create ticket"&amp;&gt;













































































































                                                           [ Hide details ]



&lt;&amp; /Elements/TitleBoxStart, title =&gt; 'The      &lt;&amp; /Elements/TitleBoxStart,    

Basics', title_class=&gt; 'inverse', color =&gt; "#  title =&gt; "Dates",

title_class=>

993333" &amp;&gt;                                     'inverse', color =&gt; "#663366"  

                                               &amp;&gt;                             

       Priority: [&lt;%$]                                                        

 Final Priority: [&lt;%$]                         Starts: [          ]           

    Time Worked: [   ]                            Due: [          ]           

      Time Left: [   ]                                                        

                                               &lt;&amp; /Elements/TitleBoxEnd &amp;&gt;    

&lt;&amp; /Elements/TitleBoxEnd &amp;&gt;                    &lt;&amp; /Elements/TitleBoxStart,    

                                               title =&gt; 'Relationships',      

&lt;&amp; /Elements/TitleBoxStart, title_class=&gt;      title_class=&gt; 'inverse',       

'inverse', title =&gt; "Keyword

Selections", titleright => ‘’, color=> "#

color =&gt; "#993300" &amp;&gt;                          336633" &amp;&gt; (Enter ticket ids or

                                               URLs, seperated with spaces)   

% while ( my                                                                  

$KeywordSelect =                                   Depends on [          ]    

$KeywordSelects-&gt;                              Depended on by [          ]    

Next ) { % my                                         Parents [          ]    

$Descendents =                                       Children [          ]    

$KeywordSelect-&gt;                                    Refers to [          ]    

KeywordObj-&gt;                                   Referred to by [          ]    

Descendents;                                                                  

               &lt;%                    
      &lt;&amp; /Elements/TitleBoxEnd &amp;&gt;    

 $KeywordSelect-&gt; [(empty)                   ] &lt;&amp; /Elements/Submit, Label =&gt;  

          Name %&gt;                              "Create ticket"&amp;&gt;              

% }                                                                           



&lt;&amp; /Elements/TitleBoxEnd &amp;&gt;                                                   



&lt;%INIT&gt; my $QueueObj = new RT::Queue($session{'CurrentUser'}); $QueueObj-&gt;

Load($Queue) || Abort("Queue could not be loaded."); my $KeywordSelects =

$QueueObj-&gt;KeywordSelects;

Excellent. it’ll be in 2.0.9, along with a couple of goodies ;)On Mon, Oct 08, 2001 at 09:12:52AM +0200, Alesh Mustar wrote:

Yup, works like a charm.

Thanks,
A.

Jesse Vincent wrote:

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 di
    r, 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;

_______________________________________________ rt-users mailing list
rt-users@lists.fsck.com http://lists.fsck.com/mailman/listinfo/rt-users

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