Comment 1 for bug 237399

Revision history for this message
danh (danh-archive) wrote :

The bug happens because we didn't check the script variable $saveForLater
before queueing up a derive task. So now we check that variable as part
of deciding whether to queue up a derive task:
petabox/www/datanode/RePublisher/RePublisher-checkin.php

We also modified
petabox/www/petabox/OpenBookFactory/index.php
by making the re-checkout query read:
$sql = "SELECT identifier,operator FROM metadata WHERE repub_state=3 and (collection='microfilmreel' or collection='microfilmreel;newspapers') and contributor='$library' ORDER BY operator";

It used to be that the collection test was only
    collection='microfilmreel'

We made this change so that if you do actually save a newspaper for later, you
can actually try to edit it later (after touching any date fields the collection gets
changed to 'microfilmreel;newspapers').

(If any fix reveals further associated problems please append them, or pointers
to them.)