Dear Lanxin, On 05/02/2012 17:14 AM, Lanxin Ma wrote: > more /opt/invenio/var/tmp/IHEP-PHOTO-LIFE-2012-006_2012-04-24_15:30:20 > [...] > <datafield tag="856" ind1="4" ind2=" "><subfield > code="q">http://invenio-test.ihep.ac.cn/record/115/files/</subfield> > <subfield code="x">icon</subfield></datafield> > <datafield tag="856" ind1="4" ind2=" "><subfield > code="u">http://invenio-test.ihep.ac.cn/record/115/files/</subfield> > <subfield code="z">Access to files</subfield></datafield> > [...]
So this shows tha a reference to a non-existing file was added to the MARC at creation time by WebSubmit function "Make_Record", following instructions from template PHOTOcreate.tpl 856 is the MARC tag where files are "linked" by default. > more PHOTOcreate.tpl > [...] > 8564q::REPL(EOL,)---<datafield tag="856" ind1="4" ind2=" "><subfield > code="q">http://invenio-test.ihep.ac.cn/record/< > :SN::SN:>/files/<:PHOTO_FILE_ICON::PHOTO_FILE_ICON:></subfield><subfield > code="x">icon</subfield></datafield> > 8564u::REPL(EOL,)---<datafield tag="856" ind1="4" ind2=" "><subfield > code="u">http://invenio-test.ihep.ac.cn/record/< > :SN::SN:>/files/<:PHOTO_FILE_RENAMED::PHOTO_FILE_RENAMED:></subfield><subfield > code="z">Access to files</subfield></d > atafield> > [...] These two lines are the ones adding the empty references. 856 tags need not be added specifically to the MARC in template PHOTOcreate.tpl when Move_Photos_to_Storage function is used (the same applies to most cases) as the the 856 tags will nowadays be automatically "synchronized" when the files are added to the storage area. These lines should also have been removed from demo template DEMOPICcreate.tpl, then the submission was updated to its new images upload technique. This will be fixed in a later version of Invenio. Best regards -- Jerome Caffaro ** CERN Document Server ** <http://cds.cern.ch/>

