determine_booking_status in OpenILS::Application::Circ::Circulate breaks when changing router names
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned | ||
3.4 |
Fix Released
|
Medium
|
Unassigned | ||
3.5 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The function determine_
What AppSession does is construct the destination for your messages from 3 things: the router name, the domain, and the app/service that you request. So, a "default" install (all router names = router) will work fine and use this address: <email address hidden>/router but if you change the defaults to something like pubrouter / privrouter it will instead use this: <email address hidden>/privrouter and you will get "<email address hidden>/privrouter IS NOT CONNECTED TO THE NETWORK!" in your logs any time Circulate.pm tries to check the booking status. Changing the AppSession invocation to just my $ses = create OpenSRF:
Branch on the way.
Changed in evergreen: | |
milestone: | none → 3.6.1 |
Changed in evergreen: | |
status: | New → Fix Committed |
assignee: | Mike Rylander (mrylander) → nobody |
tags: | removed: pullrequest |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
As promised, branch lives here: https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ jboyer/ lp1904220_ booking_ appsession / working/ user/jboyer/ lp1904220_ booking_ appsession
Testing notes:
Setup an un-patched system using non-default router names (such as pubrouter and privrouter)
Try to circulate any item
Find IS NOT CONNECTED errors in your error logs
Apply patch
Repeat test above, succeed in circulating item.