[Rt-commit] rt branch, 3.8/topactions-form-css-fix, created. rt-3.8.10-3-g88b4a24
? sunnavy
sunnavy at bestpractical.com
Wed May 4 04:34:20 EDT 2011
The branch, 3.8/topactions-form-css-fix has been created
at 88b4a24e77edd29a8fdbdb0145a42437dd3041b6 (commit)
- Log -----------------------------------------------------------------
commit d826a52d5662731cb9a67a9bc7bd560bbdbd7f86
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Fri Apr 22 13:11:46 2011 -0400
Walk around acls when determining transaction type
It is entirely possible that you'll have a ticket created by an
Unprivileged user without ShowTicket. This means that the Ticket Create
transaction will have a CurrentUser of that Unprivileged user.
$transaction->Type does not work if you don't have ShowTicket.
This means that _FindScrips will go look for TransactionBatch Scrips
with an ApplicableTransTypes of Any, not Create and you'll never have an
On Create TransactionBatch scrip run.
diff --git a/lib/RT/Ticket_Overlay.pm b/lib/RT/Ticket_Overlay.pm
index 8dd88c9..dc789a0 100755
--- a/lib/RT/Ticket_Overlay.pm
+++ b/lib/RT/Ticket_Overlay.pm
@@ -3226,7 +3226,7 @@ sub _ApplyTransactionBatch {
my $batch = $self->TransactionBatch;
my %seen;
- my $types = join ',', grep !$seen{$_}++, grep defined, map $_->Type, grep defined, @{$batch};
+ my $types = join ',', grep !$seen{$_}++, grep defined, map $_->__Value('Type'), grep defined, @{$batch};
require RT::Scrips;
RT::Scrips->new($RT::SystemUser)->Apply(
commit 88b4a24e77edd29a8fdbdb0145a42437dd3041b6
Merge: 3f04608 d826a52
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Mon Apr 25 15:04:30 2011 -0400
Merge branch '3.8/transactionbatch-permissions' into 3.8-trunk
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list