[OPEN-ILS-DEV] EG 2.0 alpha4 problem with MARC defaults in Add MFHD Record

Mike Rylander mrylander at gmail.com
Wed Nov 3 23:03:37 EDT 2010


On Wed, Nov 3, 2010 at 10:49 PM, Dan Scott <dan at coffeecode.net> wrote:
> On Wed, Nov 03, 2010 at 09:29:07PM +0100, Repke de Vries wrote:

[snip]

>
>> - the 035 should not happen: this the very first time a MFHD record
>> is created; only if some other library would take IISH's Holding
>> Records, the IISH 001 and 003 should be pushed to the 035
>
> Agreed. Just to explain what's going on under the covers is that the
> MFHD record is created with an auto-generated TCN (001), then when the
> record is inserted into the database the update trigger runs and the 001
> gets replaced with the record ID and the old 001 gets pushed into the
> 035.
>
> I can't guarantee that we'll be able to fix this before the 2.0 release.
> It would be great, though, if you could at least create a bug for this
> so that we can at least track it.
>

Just a thought on implementation ... since the goal is to detect when
the record is brand new, as opposed to updated, perhaps we just need
to test whether create_date and edit_date are the same and if so we
can skip the 035 dance.

-- 
Mike Rylander
 | VP, Research and Design
 | Equinox Software, Inc. / The Evergreen Experts
 | phone:  1-877-OPEN-ILS (673-6457)
 | email:  miker at esilibrary.com
 | web:  http://www.esilibrary.com


More information about the Open-ils-dev mailing list