[rt-devel] Pg script create failure

Jesse Vincent jesse at bestpractical.com
Thu Dec 18 03:02:13 EST 2003




On Thu, Dec 18, 2003 at 02:57:22AM -0500, James O'Kane wrote:
> I'm doing a new install of rt-3-0-7_01 using psql (PostgreSQL) 7.3.4-RH 
> (ie. the version provided by Red Hat) and I get these errors during 
> make initialize-database
> 
> Creating templates...1.2.3.4.5.6.7.8.9.10.11.12.done.
> Creating scrips...1.(Error: Action AutoReply To Requestors not found)
> 2.3.(Error: Action Notify Requestors And Ccs not found)
> 4.(Error: Action Notify AdminCcs As Comment not found)
> (Error: Action Notify Other Recipients As Comment not found)
> 5.6.7.8.9.done.
> 
> 
> I tracked it down to a capitalization problem in initialdata. That file 
> hasn't changed in 3-0-8rc1, so I assume it's still a problem. Attached is 
> a patch that fixes things for me.


Try 3.0.8rc1 with DBIx::SearchBuilder 0.95.

Actually, I have reason to believe you may see this with 
RT 3.0.7 and SearchBuilder 0.95 but not RT 3.0.7 and SB 0.94 or RT
3.0.8x and SB 0.95.

Can you verify this?


> 
> -james
> 

> --- ../../rt-3-0-8rc1/etc/initialdata	2003-12-17 14:13:55.000000000 -0500
> +++ initialdata	2003-12-18 02:57:42.000000000 -0500
> @@ -69,7 +69,7 @@
>  
>  @ScripActions = (
>  
> -    {  Name        => 'Autoreply To Requestors',    # loc
> +    {  Name        => 'AutoReply To Requestors',    # loc
>         Description =>
>  'Always sends a message to the requestors independent of message sender' ,                                            # loc
>         ExecModule => 'Autoreply',
> @@ -86,7 +86,7 @@
>        Description => 'Sends mail to the owner',              # loc
>        ExecModule  => 'Notify',
>        Argument    => 'Owner' },
> -    { Name        => 'Notify AdminCcs as Comment',                        # loc
> +    { Name        => 'Notify AdminCcs As Comment',                        # loc
>        Description => 'Sends mail to the administrative Ccs as a comment', # loc
>        ExecModule  => 'NotifyAsComment',
>        Argument    => 'AdminCc' },
> @@ -95,12 +95,12 @@
>        ExecModule  => 'Notify',
>        Argument    => 'AdminCc' },
>  
> -    { Name        => 'Notify Requestors and Ccs as Comment',              # loc
> +    { Name        => 'Notify Requestors And Ccs as Comment',              # loc
>        Description => 'Send mail to requestors and Ccs as a comment',      # loc
>        ExecModule  => 'NotifyAsComment',
>        Argument    => 'Requestor,Cc' },
>  
> -    { Name        => 'Notify Requestors and Ccs',                         # loc
> +    { Name        => 'Notify Requestors And Ccs',                         # loc
>        Description => 'Send mail to requestors and Ccs',                   # loc
>        ExecModule  => 'Notify',
>        Argument    => 'Requestor,Cc' },
> @@ -113,7 +113,7 @@
>        Description => 'Send mail to all watchers',                         # loc
>        ExecModule  => 'Notify',
>        Argument    => 'All' },
> -    { Name        => 'Notify Other Recipients as Comment',                # loc
> +    { Name        => 'Notify Other Recipients As Comment',                # loc
>        Description => 'Sends mail to explicitly listed Ccs and Bccs',      # loc
>        ExecModule  => 'NotifyAsComment',
>        Argument    => 'OtherRecipients' },
> @@ -203,7 +203,7 @@
>        Description => 'A blank template',                                  # loc
>        Content     => '', },
>      {  Queue       => '0',
> -       Name        => 'Autoreply',                                         # loc
> +       Name        => 'AutoReply',                                         # loc
>         Description => 'Default Autoresponse template',                     # loc
>         Content     => 'Subject: AutoReply: {$Ticket->Subject}
>  

> _______________________________________________
> rt-devel mailing list
> rt-devel at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-devel


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



More information about the Rt-devel mailing list