[Rt-commit] rt branch, 4.2/plugin-distribution-name, repushed
Alex Vandiver
alexmv at bestpractical.com
Wed Mar 4 16:47:10 EST 2015
The branch 4.2/plugin-distribution-name was deleted and repushed:
was fc6c3826eaf9e6b179102f4f3ad6122b4b237e8e
now c95c65979fc16503e73ad4d55fb9933cafa1e836
1: fc6c382 ! 1: c95c659 Allow the distribution name (not the package) for plugins
@@ -1,6 +1,24 @@
Author: Alex Vandiver <alexmv at bestpractical.com>
Allow the distribution name (not the package) for plugins
+
+ Despite the documentation, it is a not uncommon error that users provide
+ the distribution name instead of the package name. Since this is a
+ recoverable error, detect and deal with this error.
+
+diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
+--- a/etc/RT_Config.pm.in
++++ b/etc/RT_Config.pm.in
+@@
+ Plugin( "RT::Extension::SLA" );
+ Plugin( "RT::Authen::ExternalAuth" );
+
++RT will also accept the distribution name (i.e. C<RT-Extension-SLA>)
++instead of the package name (C<RT::Extension::SLA>).
++
+ =cut
+
+ Set(@Plugins, ());
diff --git a/lib/RT/Config.pm b/lib/RT/Config.pm
--- a/lib/RT/Config.pm
More information about the rt-commit
mailing list