Changeset 28518

Show
Ignore:
Timestamp:
23.10.2013 15:09:54 (6 years ago)
Author:
ak19
Message:

Undoing the change I made in an earlier commit, since that breaks the general case even though it works correctly in a special case. Need to think more on this.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/gti.pl

    r28503 r28518  
    669669         
    670670        # Make sure the submitted source chunk matches the source file chunk 
    671         if (&unmake_text_xml_safe($source_file_key_to_submission_mapping{$chunk_key}) ne &unmake_text_xml_safe($source_file_key_to_text_mapping{$chunk_key})) { 
     671        if ($source_file_key_to_submission_mapping{$chunk_key} ne &unmake_text_xml_safe($source_file_key_to_text_mapping{$chunk_key})) { 
     672        #if (&unmake_text_xml_safe($source_file_key_to_submission_mapping{$chunk_key}) ne &unmake_text_xml_safe($source_file_key_to_text_mapping{$chunk_key})) { 
    672673                    #print STDERR "**** $source_file_key_to_submission_mapping{$chunk_key}\n"; 
    673674                #print STDERR "**** " . &unmake_text_xml_safe($source_file_key_to_text_mapping{$chunk_key}) ."\n";