[Rt-commit] rt branch, 4.2/charts-upgrade-content, repushed

Wallace Reis wreis at bestpractical.com
Mon May 19 08:04:47 EDT 2014


The branch 4.2/charts-upgrade-content was deleted and repushed:
       was f2f6bbe5c05bc09f3ba026502e65a9b59755829e
       now efabca5f82b7d8b8e1c194d89da40d283111af83

1:  f2f6bbe ! 1:  efabca5 I#29595: Undef foolproof for PrimaryGroupBy on upgrade
    @@ -6,9 +6,8 @@
         without changing any option in the dropdowns (either ChartStyle or
         PrimaryGroupBy), then there isn't any value in the %ARGS which causes
         these options to be saved as undef in DB. Additionally, that is the
    -    same behavior for 4.2. Thus, we need to mangle the upgrade content
    -    scripts to undef foolproof when handling PrimaryGroupBy to avoid the
    -    warnings.
    +    same behavior for 4.2. Thus, we need to undef foolproof when handling
    +    PrimaryGroupBy to avoid the warnings.
     
     diff --git a/etc/upgrade/4.1.17/content b/etc/upgrade/4.1.17/content
     --- a/etc/upgrade/4.1.17/content
    @@ -18,7 +17,7 @@
              $content->{GroupBy} ||= [delete $content->{PrimaryGroupBy}];
              for (@{$content->{GroupBy}}) {
     -            next if /\./;
    -+            next if not defined || /\./;
    ++            next if !defined || /\./;
                  s/(?<=[a-z])(?=[A-Z])/./;
              }
      



More information about the rt-commit mailing list