autoderive should not happen in save-for-later
Bug #237399 reported by
danh
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Microfilm |
New
|
Undecided
|
Unassigned |
Bug Description
There's a report that if you do a save-for-later for a newspaper in the open book factory then a derive kicks off.
Looking at the code in RePublisher-
So need to modify the code so that save-for-later does not kick off a derive.
To post a comment you must log in.
The bug happens because we didn't check the script variable $saveForLater www/datanode/ RePublisher/ RePublisher- checkin. php
before queueing up a derive task. So now we check that variable as part
of deciding whether to queue up a derive task:
petabox/
We also modified www/petabox/ OpenBookFactory /index. php 'microfilmreel' or collection= 'microfilmreel; newspapers' ) and contributor= '$library' ORDER BY operator";
petabox/
by making the re-checkout query read:
$sql = "SELECT identifier,operator FROM metadata WHERE repub_state=3 and (collection=
It used to be that the collection test was only 'microfilmreel'
collection=
We made this change so that if you do actually save a newspaper for later, you newspapers' ).
can actually try to edit it later (after touching any date fields the collection gets
changed to 'microfilmreel;
(If any fix reveals further associated problems please append them, or pointers
to them.)