[Rt-devel] [PATCH] Missing method name in RT::Scrip_Overlay

Todd Chapman todd at chaka.net
Thu Nov 30 11:04:57 EST 2006


Somone bad recent changes to Scrip_Overlay buy let out
a method call. 3.6 HEAD won't initdb correctly without
attached patch.

-Todd
-------------- next part --------------
==== Patch <scrip> level 1
Source: e4b3ae24-6623-0410-94c5-e08a22d88352:/local/bp/rt-3.6:6553
Target: e417ac7c-1bcc-0310-8ffa-8f5827389a85:/rt/branches/3.6-RELEASE:6547
        (svn://svn.bestpractical.com)
Log:
 r6552 at fe-rtr00a:  todd-chapman | 2006-11-30 10:40:38 -0500
 RT 3.6 dev
 r6553 at fe-rtr00a:  todd-chapman | 2006-11-30 10:53:27 -0500
 Missing method name.

=== lib/RT/Scrip_Overlay.pm
==================================================================
--- lib/RT/Scrip_Overlay.pm	(revision 6547)
+++ lib/RT/Scrip_Overlay.pm	(patch scrip level 1)
@@ -183,7 +183,7 @@
     require RT::ScripCondition;
     return ( 0, $self->loc("Condition is mandatory argument") )
         unless $args{'ScripCondition'};
-    my $condition = RT::ScripCondition->( $self->CurrentUser );
+    my $condition = RT::ScripCondition->new( $self->CurrentUser );
     $condition->Load( $args{'ScripCondition'} );
     return ( 0, $self->loc('Condition not found') )
         unless $condition->Id;

==== BEGIN SVK PATCH BLOCK ====
Version: svk 1.08 (linux)

eJyNk81um0AQxy315qfgsDn0QNhvr6mE3IN76acSt1drWYYYFQNaNm4j7SFR3yfv0jfqsnbSqmqV
SAgBM/P7z+z8eWM3r1bEFwX2iGB/+eVtnn/SzuzOCPdIeqga11skfAsHaBHzbX+FuO/0HkJ07K+t
mR6ctlfgpofGfAVXFCTg1BG3jogHbKSW2vXdiJYRv3UWABHPV8Kv2HRtEVn6EUIkYrcWDs3Y9F0Q
lkKwkBHSSSjvB+i2tu9djPDFik612Ju2H2E7wcOXgA3pFIWBYn7VWDCho5tpmqaMqFN5lBan8t95
IeORw/7BkRMnu9hEmadQ9BHFHyaomxYQZSdKdmlsM2w/HsC2+uZ82EfVp7DsiI1RPQztzdbBd1dB
63SUYtRLDLWqpKlqWjK2YLI0WJqlhqUiRhmDqAwb+zCb3d2Su1s+fzG7F7Mfs5/+XnTwbcX/PNvY
8olras5ZWVEtDDMcjCyJUqqUwA0GrHU8YSK4T2xYH13VkFpnMdZ5kri+qlKz08Ned4lPKMYyJSRl
OCE45zhnKkmxwHieXGwSdi6TCg7zyGHP5wiW08UD530zjk13lezB7foqmZx8Pg8GH6dTLwrqEaVH
426i+/L8c9eEXYy6PZM+7GHQbhesE0wZXq6vmwoR6bO2N7rNyiGzLg19nqyKWPiFeMk0UJ5KSVmK
OcHpkhuRAlaa0kopJmjxkvr/0Sn3AZqVVndmB2MW6OnF+t369eX65IqjClloszApKY1JMQsqqq51
uAlFF0wttRJIqGd1k/89TT7N8gvkU0sE
==== END SVK PATCH BLOCK ====


More information about the Rt-devel mailing list