Move Fieldmapper API call to Application.pm
authorBill Erickson <berick@esilibrary.com>
Wed, 8 Aug 2012 18:26:31 +0000 (14:26 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Fri, 21 Sep 2012 15:06:54 +0000 (11:06 -0400)
commit398cff9dcf6df0e8c854eb4ff403a090f935ecfd
tree2f09f57abeb1c65ede5855fe85ab20d2b7568a18
parentec05cdf433e129a73cdcd028f75e4ba9d628b4bd
Move Fieldmapper API call to Application.pm

Move export of opensrf.open-ils.system.fieldmapper API call from
Fieldmapper.pm into Application.pm with the rest of the shared API
calls.  This allows us to remove the OpenSRF::Application base from
Fieldmapper, which was causing some method name collisions.  For
example, if a Fieldmapper object had a field called "session", which,
incidentally, is also a method of OpenSRF::Application, the version
from OpenSRF::Application would get called instead of the Fieldmapper
version, since Fieldmapper methods are defined during AUTOLOAD.
Hilarity was guaranteed to ensue.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application.pm
Open-ILS/src/perlmods/lib/OpenILS/Utils/Fieldmapper.pm