[Rt-commit] rt branch, 4.2-trunk, updated. rt-4.2.9rc1-1-g4decb46
Alex Vandiver
alexmv at bestpractical.com
Tue Oct 28 12:29:36 EDT 2014
The branch, 4.2-trunk has been updated
via 4decb462de3b99a7be715cc19098c369348f198c (commit)
from 943ba7ea4b673cbe4becc75ebdc036b73a580833 (commit)
Summary of changes:
sbin/rt-validator.in | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
- Log -----------------------------------------------------------------
commit 4decb462de3b99a7be715cc19098c369348f198c
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Tue Oct 28 11:46:06 2014 -0400
Clarify wording or Organization update in validator
diff --git a/sbin/rt-validator.in b/sbin/rt-validator.in
index e92bc69..529f663 100644
--- a/sbin/rt-validator.in
+++ b/sbin/rt-validator.in
@@ -944,6 +944,7 @@ push @CHECKS, 'Links: wrong organization' => sub {
{ model => 'Link', column => 'Base' },
);
+ my $right_org = RT->Config->Get('Organization');
my @rt_uris = rt_uri_modules();
foreach my $package (@rt_uris) {
@@ -970,11 +971,11 @@ push @CHECKS, 'Links: wrong organization' => sub {
my ($wrong_org) = ( $value =~ m{^\Q$scheme\E://(.+)/[^/]+/[0-9]*$} );
next unless my $replace_with = prompt(
'Replace',
- "Column $column in $table is a link. Local links has scheme '$scheme'"
- ." followed by organization name from the config file. There is record"
- ." #$id that has scheme '$scheme', but organization is '$wrong_org'."
- ." Most probably you changed organization, but didn't update links."
- ." It's ok to replace these wrong links.\n",
+ "Column $column in $table is a link. There is record #$id that has a"
+ ." local scheme of '$scheme', but its organization is '$wrong_org'"
+ ." instead of '$right_org'. Most probably the Organization was"
+ ." changed from '$wrong_org' to '$right_org' at some point. It is"
+ ." generally a good idea to replace these wrong links.\n",
"Links: wrong organization $wrong_org"
);
-----------------------------------------------------------------------
More information about the rt-commit
mailing list