Dear Devin, In data Friday 15 May 2009, Devin Bougie scribacchiaste dette parole: > Hi Jerome, > > On May 15, 2009, at 3:16 AM, Jerome Caffaro wrote: > > Can you try to run: > > $ /opt/cds-invenio/bin/bibdocfile --recid 2048 --fix-marc > > > > and tell me if the 8564_ fields of the MARC output get correctly > > updated > > (after the BibUpload task produced by the above command has run) > > <https://edms.classe.cornell.edu/record/2048/export/hm> > > This is now done, and seems to have removed the icon. > > To be sure, I've created a new record for testing. After the initial > record creation (and run of bibindex, bibreformat, webcoll, and > bibrank), the XML is as follows: > ------ > <record> <controlfield tag="001">2066</controlfield> <datafield > tag="037" ind1=" " ind2=" "> <subfield code="a">PICTURE-TEST-2009-015</ > subfield> </datafield> <datafield tag="856" ind1="0" ind2=" "> > <subfield code="f">[email protected]</subfield> </datafield> > <datafield tag="909" ind1="c" ind2="0"> <subfield code="e">TEST</ > subfield> </datafield> <datafield tag="245" ind1=" " ind2=" "> > <subfield code="a">Test</subfield> </datafield> <datafield tag="520" > ind1=" " ind2=" "> <subfield code="a">Test Description</subfield> </ > datafield> <datafield tag="980" ind1=" " ind2=" "> <subfield > code="a">PICTUREPUBLIC</subfield> </datafield> <datafield tag="856" > ind1="4" ind2=" "> <subfield > code="u">https://edms.classe.cornell.edu/record/2066/files/PICTURE-TEST-200 >9-015.gif </subfield> <subfield code="z">Access to files</subfield> > </datafield> <datafield tag="856" ind1="4" ind2=" "> <subfield > code="q">https://edms.classe.cornell.edu/record/2066/files/icon-PICTURE-TES >T-2009-015.gif </subfield> <subfield code="x">icon</subfield> </datafield> > </record> ------
so this MARCXML seems to refer to a once-existing icon, but, as you confirm, the HTML format of the record display a broken links. This is due to the MARC referring to an icon URL, but the icon not really existing. > I then update the image, run "bibdocfile --recid=2066 --fix-marc", and > let bibindex, bibreformat, webcoll, and bibrank run. The XML is then: > ------ > <record> > <controlfield tag="001">2066</controlfield> > <datafield tag="037" ind1=" " ind2=" "> > <subfield code="a">PICTURE-TEST-2009-015</subfield> > </datafield> > <datafield tag="856" ind1="0" ind2=" "> > <subfield code="f">[email protected]</subfield> > </datafield> > <datafield tag="909" ind1="c" ind2="0"> > <subfield code="e">TEST</subfield> > </datafield> > <datafield tag="245" ind1=" " ind2=" "> > <subfield code="a">Test</subfield> > </datafield> > <datafield tag="520" ind1=" " ind2=" "> > <subfield code="a">Test Description</subfield> > </datafield> > <datafield tag="980" ind1=" " ind2=" "> > <subfield code="a">PICTUREPUBLIC</subfield> > </datafield> > <datafield tag="856" ind1="4" ind2=" "> > <subfield > code="u">https://edms.classe.cornell.edu/record/2066/files/PICTURE-TEST-200 >9-015.gif </subfield> > </datafield> > </record> Given the above consideration the MARCXML as updated by --fix-marc seems now to correctly reflect the real situation i.e. no icon being attached to the record. Could it be that the icon is not correctly created upon submission? In WebSubmit there are different methods to upload files. If you use Upload_Files for example, you should not use Move_Files_to_Storage at the same time, because the two functions are very similar (although implementing different algorithms) and thus conflicting. What is the exact flow of function your SRV action? Best regards, Samuele -- Samuele Kaplun ** CERN Document Server ** <http://cds.cern.ch/>
