- Timestamp:
- 2013-09-04T21:46:07+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/cgiactions/metadataaction.pm
r28160 r28211 318 318 # This now stores the full pathname 319 319 my $import_filename = $doc_rec->{'src-file'}->[0]; 320 $import_filename = &util::placeholders_to_abspath($import_filename); 320 321 321 322 # figure out correct metadata.xml file [?] … … 424 425 my $doc_rec = &dbutil::read_infodb_entry($infodbtype, $arcinfo_doc_filename, $docid); 425 426 # This now stores the full pathname 426 my $doc_filename = $doc_rec->{'doc-file'}->[0]; 427 my $doc_filename = $doc_rec->{'doc-file'}->[0]; 427 428 $doc_filename = &util::filename_cat($archive_dir, $doc_filename); 428 429 … … 793 794 # This now stores the full pathname 794 795 $import_filename = $doc_rec->{'src-file'}->[0]; 796 $import_filename = &util::placeholders_to_abspath($import_filename); 795 797 796 798 # figure out correct metadata.xml file [?] … … 2874 2876 # This now stores the full pathname 2875 2877 $import_filename = $doc_rec->{'src-file'}->[0]; 2878 $import_filename = &util::placeholders_to_abspath($import_filename); 2879 2876 2880 } else { # only for set_import_meta, not the case when calling method is set_import_metadata_array 2877 2881 # as the array version of the method doesn't support the -f parameter yet … … 2962 2966 # This now stores the full pathname 2963 2967 $import_filename = $doc_rec->{'src-file'}->[0]; 2968 $import_filename = &util::placeholders_to_abspath($import_filename); 2964 2969 } 2965 2970 … … 3393 3398 # This now stores the full pathname 3394 3399 my $import_filename = $archive_doc_rec->{'src-file'}->[0]; 3400 $import_filename = &util::placeholders_to_abspath($import_filename); 3395 3401 3396 3402 # figure out correct metadata.xml file [?]
Note:
See TracChangeset
for help on using the changeset viewer.