Dear Devin,
Devin Bougie wrote:
We pretty much started with the default demo Pictures collection, and
have not modified the SRV setup.
IIRC the demo SRV submissions were removed from the last release
precisely because they might lead to that kind of issues: they did not
keep the MARCXML in sync with the files tables of the database. That's
usually ok, unless the link to the file has changed (i.e. a different
name or format is used for the revised version).
So far I have been testing manually without modifying or creating any
WebSubmit functions. Please see the following procedures that I've
tried (during which no periodic tasks were run). [..]
Your (extensive) tests seems to confirm that the MARCXML of the record
is not updated after an SRV step (excepted for some strange results with
the detailed output), and still refer to the old file. But to be sure,
could you send me the link to a "broken" output, with a question mark
instead of the picture? I would check if the broken image still links to
the initial image (ditto for the MARCXML), while if the /files URL
("Fulltext" tab) is correct.
It that's the case, a solution will be to modify the WebSubmit revision
function (or to add a new function in your submission workflow) so that
the MARCXML is synchronized with the table (This should be enough:
/opt/cds-invenio/bin/bibdocfile --recid XXX --fix-marc).
Best regards
--
Jerome Caffaro ** CERN Document Server ** <http://cds.cern.ch/>