Changeset 23751

Show
Ignore:
Timestamp:
02.03.2011 15:53:59 (9 years ago)
Author:
davidb
Message:

Missing @_ parameter needs to be passed in to AutoLoadConverter? version of methods. This issue was noticed when enable-caching was used, as the appropriate part of the plugin did not have a valid 'base dir' for the cache directory.

Location:
main/trunk/greenstone2/perllib/plugins
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/ExcelPlugin.pm

    r22874 r23751  
    143143    # ConvertBinaryFile init 
    144144    $self->SUPER::init(@_); 
    145     $self->AutoLoadConverters::init(); 
     145    $self->AutoLoadConverters::init(@_); 
    146146 
    147147} 
     
    150150    my $self = shift (@_); 
    151151 
    152     $self->AutoLoadConverters::begin(); 
     152    $self->AutoLoadConverters::begin(@_); 
    153153    $self->SUPER::begin(@_); 
    154154 
     
    158158    my $self = shift (@_); 
    159159     
    160     $self->AutoLoadConverters::deinit(); 
     160    $self->AutoLoadConverters::deinit(@_); 
    161161    $self->SUPER::deinit(@_); 
    162162 
  • main/trunk/greenstone2/perllib/plugins/PowerPointPlugin.pm

    r23363 r23751  
    232232    # ConvertBinaryFile init 
    233233    $self->SUPER::init(@_); 
    234     $self->AutoLoadConverters::init(); 
     234    $self->AutoLoadConverters::init(@_); 
    235235 
    236236} 
     
    239239    my $self = shift (@_); 
    240240 
    241     $self->AutoLoadConverters::begin(); 
     241    $self->AutoLoadConverters::begin(@_); 
    242242    $self->SUPER::begin(@_); 
    243243 
     
    247247    my $self = shift (@_); 
    248248     
    249     $self->AutoLoadConverters::deinit(); 
     249    $self->AutoLoadConverters::deinit(@_); 
    250250    $self->SUPER::deinit(@_); 
    251251 
  • main/trunk/greenstone2/perllib/plugins/WordPlugin.pm

    r22894 r23751  
    247247    # ConvertBinaryFile init 
    248248    $self->SUPER::init(@_); 
    249     $self->AutoLoadConverters::init(); 
     249    $self->AutoLoadConverters::init(@_); 
    250250 
    251251} 
     
    254254    my $self = shift (@_); 
    255255 
    256     $self->AutoLoadConverters::begin(); 
     256    $self->AutoLoadConverters::begin(@_); 
    257257    $self->SUPER::begin(@_); 
    258258 
     
    262262    my $self = shift (@_); 
    263263     
    264     $self->AutoLoadConverters::deinit(); 
     264    $self->AutoLoadConverters::deinit(@_); 
    265265    $self->SUPER::deinit(@_); 
    266266