Ignore:
Timestamp:
2006-08-04T09:34:45+12:00 (18 years ago)
Author:
kjdon
Message:

in the read function. moved the line setting self->archive_info_filename inside teh test to see if the archives file exists. If, during building, GAPlug fails to process a file, eg cos not well formed XML, then it gets passed to ArcPLug, and the way it was, it was setting archive info filename to be something like archives/HASHxxxx/doc.xml/archives.inf, which of course, crapped out when you tried to save the archives file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/ArcPlug.pm

    r12169 r12397  
    116116    # see if this has a archives information file within it
    117117    my $archive_info_filename = &util::filename_cat($base_dir,$file,"archives.inf");
    118     $self->{'archive_info_filename'} = $archive_info_filename;
    119118
    120119    if (-e $archive_info_filename) {
     
    126125    my $archive_info = new arcinfo ();
    127126    $self->{'archive_info'} = $archive_info;
     127    $self->{'archive_info_filename'} = $archive_info_filename;
    128128
    129129    $archive_info->load_info ($archive_info_filename);
Note: See TracChangeset for help on using the changeset viewer.