Booking will fail if its router isn't called "router"

Bug #1623541 reported by Mike Rylander
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
High
Unassigned
2.10
Fix Released
Undecided
Unassigned
2.9
Fix Released
Undecided
Unassigned

Bug Description

The circ code checks to see if the booking app is running, and if not, it skips some booking-related logic. This is a useful performance enhancement where booking is not in use. It does this by asking the OpenSRF router if the "open-ils.booking" app has registered with it. Most of the time the OpenSRF router will be called, unimaginatively, "router" but when it's not, booking will not be considered by the circ module even if it's running.

Instead of assuming "router" we should simply look up the router's name. A branch will be coming soon to do just that.

Tags: pullrequest
Revision history for this message
Mike Rylander (mrylander) wrote :
tags: added: pullrequest
Dan Wells (dbw2)
Changed in evergreen:
assignee: nobody → Dan Wells (dbw2)
Revision history for this message
Dan Wells (dbw2) wrote :

Works for me. Committed to master through 2.9. Thanks, Mike!

Changed in evergreen:
assignee: Dan Wells (dbw2) → nobody
status: New → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.