Hold requests in the middle layer now bubble up more specific information to
authorsenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 10 Jun 2010 15:34:34 +0000 (15:34 +0000)
committersenator <senator@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 10 Jun 2010 15:34:34 +0000 (15:34 +0000)
commit252fcdd7e4262ac2db619443c2e53570dcd4fc31
tree86a5e358e20077053fd6b133b206b8d825b93291
parent285dbfea21e454f5378fba594a692e74d140a132
Hold requests in the middle layer now bubble up more specific information to
the caller in the event of failure.

The caller can find an ilsevent in the response received from calling
open-ils.circ.title_hold.is_possible, and this event will have a fail_part
attribute in its payload that can be mapped either to a) the new entities
in opac.dtd or b) values of the name column of the database table
config.standing_penalty, depending on why a hold request failed.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@16651 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/extras/ils_events.xml
Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm
Open-ILS/src/perlmods/OpenILS/Utils/PermitHold.pm
Open-ILS/web/opac/locale/en-US/opac.dtd