Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/RT/Action/SendEmail.pm
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ sub SetRTSpecialHeaders {

sub DeferDigestRecipients {
my $self = shift;
$RT::Logger->debug( "Calling SetRecipientDigests for transaction " . $self->TransactionObj . ", id " . $self->TransactionObj->id );
$RT::Logger->debug( "Calling SetRecipientDigests for transaction id " . $self->TransactionObj->id );

# The digest attribute will be an array of notifications that need to
# be sent for this transaction. The array will have the following
Expand Down
2 changes: 1 addition & 1 deletion lib/RT/Attachment.pm
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ sub Create {
Attachment => $part,
);
unless ($id) {
$RT::Logger->crit("Attachment insert failed: ". $RT::Handle->dbh->errstr);
$RT::Logger->crit("Attachment subpart insert failed.");
return ($id);
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/RT/Interface/Web/Handler.pm
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ sub CleanupRequest {
$RT::Handle->ForceRollback;
$RT::Logger->crit(
"Transaction not committed. Usually indicates a software fault."
. "Data loss may have occurred" );
. " Data loss may have occurred." );
}

# Clean out the ACL cache. the performance impact should be marginal.
Expand Down
2 changes: 1 addition & 1 deletion lib/RT/Test/Web.pm
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ sub next_warning_like {
if (@{ $self->{stashed_server_warnings} || [] } == 0) {
my @warnings = $self->get_warnings;
if (@warnings == 0) {
Test::More::fail("no warnings emitted; expected 1");
Test::More::fail("no warnings emitted; expected at least 1");
return 0;
}
$self->{stashed_server_warnings} = \@warnings;
Expand Down
6 changes: 3 additions & 3 deletions t/web/charting.t
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ for my $n (1..7) {
my $ticket = RT::Ticket->new( RT->SystemUser );
my $req = 'root' . ($n % 2) . '@localhost';
my ( $ret, $msg ) = $ticket->Create(
Subject => "base ticket $_",
Subject => "base ticket $n",
Queue => "General",
Owner => "root",
Requestor => $req,
Expand All @@ -19,8 +19,8 @@ for my $n (1..7) {
MIMEObj => MIME::Entity->build(
From => $req,
To => 'rt@localhost',
Subject => "base ticket $_",
Data => "Content $_",
Subject => "base ticket $n",
Data => "Content $n",
),
);
ok( $ret, "ticket $n created: $msg" );
Expand Down