]> git.evergreen-ils.org Git - Evergreen.git/commit
Fix exception thrown in MARC editor searching for bib sources
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 1 Jan 2011 21:20:18 +0000 (21:20 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 1 Jan 2011 21:20:18 +0000 (21:20 +0000)
commit220b68c25ad18e95646b41256b12f1fbf4241f3b
treef8f33259cca40620688b95c25d99d6f066912253
parent07e0d4759c78279c4add3edec9a57c96d9af2843
Fix exception thrown in MARC editor searching for bib sources

As reported in https://bugs.launchpad.net/evergreen/+bug/695526,
the attempt to retrieve all of the config.bib_source values using
openils.PermaCrud was failing because the retrieveAll() method
relies on fieldmapper.IDL's setting of the
fieldmapper[hint].Identifier property for each class - but in the
1.6 releases, we're still using fmclasses in XUL instead of
fieldmapper.AutoIDL.

So, to fix the direct problem, we can simply set the property
ourselves on the desired class before invoking retrieveAll();
this avoids touching code paths that might have wider unintended
consequences.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6_2@19089 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/xul/staff_client/server/cat/marcedit.js