[Rt-commit] rt branch, 4.2.2-releng, updated. rt-4.2.1-192-g949a262
Alex Vandiver
alexmv at bestpractical.com
Wed Jan 8 15:51:05 EST 2014
The branch, 4.2.2-releng has been updated
via 949a2622b95eec86eac2cebb72c7f0c5cf2d3a0f (commit)
from c38ecca113960807a9ba1706e044763db77a831b (commit)
Summary of changes:
lib/RT/Migrate/Incremental.pm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
- Log -----------------------------------------------------------------
commit 949a2622b95eec86eac2cebb72c7f0c5cf2d3a0f
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Wed Jan 8 15:31:41 2014 -0500
Add incremental upgrade steps for 4.0.19, 4.2.1, and 4.2.2
diff --git a/lib/RT/Migrate/Incremental.pm b/lib/RT/Migrate/Incremental.pm
index 34d9aa9..c0bc440 100644
--- a/lib/RT/Migrate/Incremental.pm
+++ b/lib/RT/Migrate/Incremental.pm
@@ -410,6 +410,18 @@ s!(?<=Your ticket has been (?:approved|rejected) by { eval { )\$Approval->OwnerO
},
},
+ '4.0.19' => {
+ 'RT::CustomField' => sub {
+ my ($ref) = @_;
+ $ref->{LookupType} = 'RT::Class-RT::Article'
+ if $ref->{LookupType} eq 'RT::FM::Class-RT::FM::Article';
+ },
+ 'RT::ObjectCustomFieldValue' => sub {
+ my ($ref) = @_;
+ $ref->{ObjectType} = 'RT::Article'
+ if $ref->{ObjectType} eq 'RT::FM::Article';
+ },
+ },
'4.1.0' => {
@@ -617,6 +629,29 @@ This is a forward of ticket #{ $Ticket->id }
}
},
},
+
+ '4.2.1' => {
+ 'RT::Attribute' => sub {
+ my ($ref, $classref) = @_;
+ if ($ref->{ObjectType} eq "RT::System" and $ref->{Name} eq "BrandedSubjectTag") {
+ $$classref = undef;
+ }
+ },
+ },
+
+ '4.2.2' => {
+ 'RT::CustomField' => sub {
+ my ($ref) = @_;
+ $ref->{LookupType} = 'RT::Class-RT::Article'
+ if $ref->{LookupType} eq 'RT::FM::Class-RT::FM::Article';
+ },
+ 'RT::ObjectCustomFieldValue' => sub {
+ my ($ref) = @_;
+ $ref->{ObjectType} = 'RT::Article'
+ if $ref->{ObjectType} eq 'RT::FM::Article';
+ },
+ },
+
);
1;
-----------------------------------------------------------------------
More information about the rt-commit
mailing list